I hereby claim:
- I am Unique-Divine on github.
- I am realu (https://keybase.io/realu) on keybase.
- I have a public key whose fingerprint is 8106 7612 5C06 EE88 4FA1 6399 B82D 6C99 804A E551
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { useFaucet } from "@nibiruchain/nibijs" // v0.7.2 | |
import { newRandomWallet, WalletHD } from "@nibiruchain/nibijs/dist/tx" | |
async function runExample() { | |
const wallet: WalletHD = await newRandomWallet() | |
const [{ address }] = await wallet.getAccounts() | |
// Save the mnemonic somewhere to re-use the account | |
console.log("mnemonic: ", wallet.mnemonic) | |
console.log("address: ", address) |