Skip to content

thomas-tran/xpx-faucet

Repository files navigation

xpx-faucet

Get XPX from testnet

Installation

npm install xpx-faucet --save

How to use

import { NetworkType, Account } from 'tsjs-xpx-chain-sdk';
import { getXPX } from 'xpx-faucet';


const account = Account.generateNewAccount(NetworkType.TEST_NET);
const test = () => {
  const result = getXPX(account.address.plain()).then((result) => {
    console.log(result);
  });
};

test();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published