@sailfox/juno-kit

1.0.0 • Public • Published

juno-kit

This is a toolkit from juno transfer and query balance.

functions

  • query balance from juno chain and transfer it
import {queryBalance,transfer} from 'juno-kit';

const taskquery = async ()=>{
  const balance = await queryBalance(mnemonic,0,juno_rpc);
  console.log(balance);
}

const tasktransfer = async ()=>{
  const result = await transfer(mnemonic,from,to,amount,customgas,rpc);
  console.log(result);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @sailfox/juno-kit

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • sailfox