Go to file
2024-07-17 14:11:47 +05:30
environments Update instructions 2024-07-17 14:11:47 +05:30
src Update instructions 2024-07-17 14:11:47 +05:30
.eslintignore Setup node project with typescript 2024-07-11 12:13:46 +05:30
.eslintrc.json Read config from a config file and refactor code 2024-07-12 16:19:43 +05:30
.gitignore Implement an API for faucet requests 2024-07-11 18:44:50 +05:30
Dockerfile Add a Dockerfile 2024-07-15 14:06:52 +05:30
package.json Enable cors on server 2024-07-15 17:44:24 +05:30
README.md Update instructions 2024-07-17 14:11:47 +05:30
tsconfig.json Setup node project with typescript 2024-07-11 12:13:46 +05:30
yarn.lock Enable cors on server 2024-07-15 17:44:24 +05:30

laconic-faucet

  • Install dependencies and build:

    yarn && yarn build
    
  • Set the private key of a funded faucet account as faucetKey in the config file

  • Run the faucet:

    yarn start-faucet
    
    # Expected output:
    # Config:
    # ...
    # Faucet server running on port <port>
    # Using DB directory '/path/to/faucet/data/db'