We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I expected to be able to run the samples to initialize a KavaClient using the README
import Kava from '@kava-labs/javascript-sdk'; const initialize = async () => { const mnemonic = 'secret words that unlock a kava address'; const testnetUrl = 'https://api.data-testnet-14000.kava.io'; // testnet REST api endpoint // Declare a new Kava client, set wallet, and initialize const client = new Kava.KavaClient(testnetUrl); client.setWallet(mnemonic); client.setBroadcastMode('async'); await client.initChain(); }; const main = () => { initialize() .then((client) => console.log(client)) .catch((error) => console.log(error)); }; main();
The KavaClient expects two constructor arguments and not one - it also seems that rpc is labeled as rcp
rpc
rcp
The text was updated successfully, but these errors were encountered:
any word on this?
Sorry, something went wrong.
No branches or pull requests
Summary
I expected to be able to run the samples to initialize a KavaClient using the README
Outcome
The KavaClient expects two constructor arguments and not one - it also seems that
rpc
is labeled asrcp
The text was updated successfully, but these errors were encountered: