Claim tokens for development and testing purposes on the TWIX network.
Node.js is required to run TWIX Faucet as a web application, version 12 LTS is recommended.
- Clone the project.
git clone https://github.com/NewCapital/TWIX-Faucet.git
- Navigate to the project folder.
cd TWIX-Faucet
- Install the dependencies. This may take a while.
npm install
- Build the packages.
npm run build
- Start the app.
npm start
- Access the Faucet on your web browser. The default may be http://127.0.0.1:4000. If you get a "connection refused" or "init failed" error, check your .env file.
- Real-time display of status notifications ✔️
- Claiming selected token (from 1 up to maximum amount) to a specified recipient ✔️
- Nothing to report so far.
- Altered UI elements (footer, colors, text, images) for a more appealing, consistent and coherent appearance.
- Changed terminology (Mosaics changed to Tokens).
- Removed some irrelevant UI elements for less intrusive appearance.
- No major known issues so far.
# set enviroment variables
# DEFAULT_NODE
# HOST
# PORT= (default: 3000)
# NATIVE_CURRENCY_NAME
# NATIVE_CURRENCY_ID
# NATIVE_CURRENCY_OUT_MAX
# NATIVE_CURRENCY_OUT_MIN
# FAUCET_PRIVATE_KEY
# MAX_FEE
# ENOUGH_BALANCE
# MAX_UNCONFIRMED
# BLACKLIST_MOSAIC_ID
# EXPLORER_URL