@aloxide/aloxide-js
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

aloxide-js

Basic Usage

// Deploy EOS smart contract
const jungle = new CANTestnet();
const eosClient = new AloxideSDK(jungle);
const eosDeployAccount = eosClient.EOS.Account.load(private_key, account_name);
const trn = await eosClient.EOS.Contract.deployOnAccount(EOS_WASM_PATH, EOS_ABI_PATH, eosDeployAccount);

// Deploy ICON smart contract
const iconTestnet = new ICONTestnet();
const iconClient = new AloxideSDK(iconTestnet);
const iconDeployAccount = iconClient.ICON.Account.load(private_key);
const trn = await iconClient.ICON.Contract.deployOnAccount(ICON_PATH, params= {}, iconDeployAccount);

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @aloxide/aloxide-js

    Weekly Downloads

    2

    Version

    0.6.0

    License

    Apache-2.0

    Unpacked Size

    77.1 kB

    Total Files

    63

    Last publish

    Collaborators

    • flowersinthesand
    • manhvu