Skip to content

XDCFoundation/xdc-faucet-leo-backend

Repository files navigation

XinFin Testnet Faucet

Building from source

  1. Clone repository
  2. Update config.json ./config.json (see config.json with placeholders below))
  3. npm install from project's root
  4. Go to project's root and run npm run dev. Faucet will be launched at http://localhost:5000

Server config.json (./config.json) with placeholders

  "Ethereum": {
    "etherToTransfer": "type amount of Ether to be sent from faucet here, for example 0.5",
    "gasLimit": "type Ethereum transaction gas limit here, for example, 0x7b0c",
    "live": {
      "rpc": "type Ethereum RPC address here, for example http://127.0.0.1:8545",
      "account": "type sender address here, for example, 0xf36045454F66C7318adCDdF3B801E3bF8CfBc6a1",
      "privateKey": "type private key of sender here, for example, 54dd4125ed5418a7a68341413f4006256159f9f5ade8fed94e82785ef59523ab"
    },
    "dev": {
      ...
    }
  }
}

Thank you

About

XDC Faucet Leo Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published