Skip to content

A faucet API for developers running AliceNet Test Networks

Notifications You must be signed in to change notification settings

MadBase/dev-faucet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-faucet-api

This is a faucet api for developers running an AliceNet test network

Setup

  1. Setup and install both AliceNetJS and the Bridge as described in the AliceNet repository
  2. cp .dotenv .env and edit as necessary
  3. 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
  1. cd dev-faucet-api
  2. node index.js

Calling

The api supports calls to the following endpoint:

  • GET / - Status
  • GET /faucet/{address} - Fund {address}, 0x prefix optional

About

A faucet API for developers running AliceNet Test Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published