This is a faucet api for developers running an AliceNet test network
- Setup and install both AliceNetJS and the Bridge as described in the AliceNet repository
cp .dotenv .env
and edit as necessary- Git clone the dev-faucet-api into the root of the AliceNet repository. File structure should be similar to:
application
assets
blockchain
bridge
cmd
. . .
dev-faucet-api <== dev-faucet-api here
. . .
docker
docker-compose.yml
dynamics
types
utils
cd dev-faucet-api
node index.js
The api supports calls to the following endpoint:
- GET
/
- Status - GET
/faucet/{address}
- Fund {address}, 0x prefix optional