@iov/faucets
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

@iov/faucets

npm version

Use some Testnet faucets from JavaScript.

Getting started

The basic usage of this package is:

import { TokenTicker } from "@iov/bcp";
import { IovFaucet } from '@iov/faucets';

const faucet = new IovFaucet("https://iov-faucet.yaknet.iov.one");
await faucet.credit(address, "IOV" as TokenTicker)

There is a complete example in the @iov/cli README.

API Documentation

https://iov-one.github.io/iov-core-docs/latest/iov-faucets/

License

This package is part of the IOV-Core repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).

/@iov/faucets/

    Package Sidebar

    Install

    npm i @iov/faucets

    Weekly Downloads

    90

    Version

    2.5.0

    License

    Apache-2.0

    Unpacked Size

    16.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • xpt1x
    • iovdave
    • iharob