Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import CardanoRay from 'cardano-ray'
- const mnemonic = CardanoRay.generateMnemonic()
- const prvkey = CardanoRay.getPrivateKey(mnemonic)
- const cardano = CardanoRay.init({
- network: 'mainnet',
- graphql: 'https://graphql.rraayy.com',
- key: prvkey,
- })
- // check 80 first addresses for balances
- const addressesWithBalances = await cardano.getAddressesWithBalances()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement