HUB
Sign inSign up
aepp-faucet logo

aeternity/aepp-faucet

By aeternity

•Updated over 4 years ago

Image
0

2.5K

aeternity/aepp-faucet repository overview

⁠Aepp-faucet

Send Online Top-up. Instant Account Recharge

Recharge your account on the Aeternity Testnet

⁠Configuration

Configuring Faucet application via environment variable:

  • FAUCET_ACCOUNT_PRIV_KEY The account that faucet aepp will top off the account. (Required)
  • TOPUP_AMOUNT The amount of tokens that the faucet application will place into your account. (Default: 5AE)
  • SPEND_TX_PAYLOAD Value to use to fill the payload for the transactions (Default: Faucet Tx)
  • NODE_URL URL of the node that the faucet aepp is using. (Default: 'https://testnet.aeternity.io⁠')
  • EXPLORER_URL URL of the explorer app (Default: 'https://testnet.aeternal.io⁠')
  • SUPPORT_EMAIL Email to display for support requests (Default: [email protected])
⁠Telegram integration
  • TELEGRAM_API_TOKEN the token of the telegram bot, if not set telegram integration will be disabled
  • TELEGRAM_CHAT_ID the chat id to send notifications to
⁠Server
  • SERVER_LISTEN_ADDRESS which address to listen to (Default: 0.0.0.0)
  • SERVER_LISTEN_PORT on which port to listen (Default: 5000)

⁠Development

to install, build and generate required files locally run make build from the root of the project.

To work with front-end or back-end only instead:

⁠Back-End
  1. Run pip install -r requirements.txt to install the python dependencies
⁠Front-End
  1. Run npm i from the root of the project
  2. Run npm run dev to start webpack

Notes:

  • All the Front-End resources are in /src/
  • Run npm run prod to compile assets for production
  • Compiled assets (prod or dev) will be created in /assets/
  • Index file from src will be created in /templates/index.html

Tag summary

Content type

Image

Digest

Size

144.2 MB

Last updated

almost 7 years ago

docker pull aeternity/aepp-faucet