This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // deposit example | |
| // Start new Kava client | |
| kavaClient = new KavaClient(Env.KavaEndpoints.Mainnet); | |
| kavaClient.setWallet(Env.KavaAccount.Mainnet.Mnemonic); | |
| await kavaClient.initChain(); | |
| // Deposit coins into Hard's BNB pool | |
| const coins = kavaUtils.formatCoins(100, "bnb"); | |
| const tx = await kavaClient.hard.deposit(coins); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "boulevard": { | |
| "name": "Boulevard", | |
| "location": "Kansas City, MO", | |
| "best_beer": "Tank 7" | |
| }, | |
| "bad_weather": { | |
| "name": "Bad Weather", | |
| "location": "Saint Paul, MN", | |
| "best_beer": "Anomaly" |