Skip to content

Commit

Permalink
chore: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Sep 14, 2023
1 parent a2d9b55 commit 948ffda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/nodejs/client.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const { Client } = require('@bnb-chain/greenfield-js-sdk');
const { ACCOUNT_ADDRESS, ACCOUNT_PRIVATEKEY } = require('./env');

const client = Client.create('https://gnfd-testnet-fullnode-tendermint-ap.bnbchain.org', '5600');

const ACCOUNT_ADDRESS = '';
const ACCOUNT_PRIVATEKEY = '';

const getSps = async () => {
const sps = await client.sp.getStorageProviders();
const finalSps = (sps ?? []).filter((v) => v.endpoint.includes('https'));
Expand Down

0 comments on commit 948ffda

Please sign in to comment.