A Faucet Node for ZeroLedger protocol
- Nestjs with Typescript and SWC
- Jest for unit and e2e testing
- Docker & Docker-compose for dev & prod.
- linters, code formatter, pre-commit and pre-push hooks
- Custom github action and quality gate workflow for fast CI strategy implementation
- Flexible env configuration with encryption, thanks to dotenvx
npm iThis is PoC code. Please use it carefully
To properly run node you'll need to configure env files in conf/ directory. All environment variabless
are commented for context and assigned to mock values at *.example files.
-
Create and modify .env file in
conffolder:cp conf/.example.env conf/.env \
-
Create and modify env files:
cp conf/.example.env conf/.prod.env
-
Encrypt secrets:
npm run encrypt
note: generated .prod.secrets.env can be publicly shared with anyone after encryption
-
Keep generated .env.keys safe and do not commit it into repo
# Prod mode
npm run build; npm run dev# unit tests
npm run testContributions are always welcome! Open a PR or an issue!
And you probably already have make installed... but if not try looking here.