Faucets for some of the supported blockchains


198492.5.0a year ago3 years agoMinified + gzip package size for @iov/faucets in KB



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



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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.