Git Product home page Git Product logo

aepp-faucet-nodejs's Introduction

aepp-faucet-nodejs

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])

Logging

  • FAUCET_LOG_LEVEL the winston log-level to use (Default: info)

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

This repository bundles a simple frontend and a node (express) based backend into a single docker container.

To build and run it locally execute following commands in the root:

make docker-build
make docker-run

Notes:

  • The frontend/index.html is transformed into index.mustache in order to allow the node backend to provide dynamic values using the Mustache template engine.

aepp-faucet-nodejs's People

Contributors

marc0olo avatar mmpetarpeshev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.