From 948ffdad735daf60ae8ed93452725f0f155b6094 Mon Sep 17 00:00:00 2001 From: rrr523 Date: Thu, 14 Sep 2023 14:28:43 +0800 Subject: [PATCH] chore: Update --- examples/nodejs/client.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/nodejs/client.js b/examples/nodejs/client.js index af7da41d..7280c47f 100644 --- a/examples/nodejs/client.js +++ b/examples/nodejs/client.js @@ -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'));