-
- Downloads
feat: Implement faucet dApp (#531)
* Feat: Integrate faucet page to SPA plugin * Feat: Add Link to get txn of issued address * Feat: Add faucet payload * Feat: Add faucet plugin and minor tweaks * Fix: Check payload type after the txn is solid * Fix: Update package name * Fix: Fix payload test * Test: Add faucet test * Refactor: Minor tweaks in plugin/faucet.go * Feat: Add faucet webapi * Feat: Apply faucet plugins * Feat: Apply messagefactory and update to latest develop * Fix: Fix import error * Fix: Fix tests in binary/faucet * Feat: Integrate faucet page to SPA plugin * Feat: Add Link to get txn of issued address * Feat: Add faucet payload * Feat: Add faucet plugin and minor tweaks * Fix: Check payload type after the txn is solid * Fix: Update package name * Fix: Fix payload test * Test: Add faucet test * Refactor: Minor tweaks in plugin/faucet.go * Feat: Add faucet webapi * Feat: Apply faucet plugins * Feat: Apply messagefactory and update to latest develop * Fix: Fix import error * Fix: Fix tests in binary/faucet * refactor: Update to latest usage * fix: Update go.mod, go.sum * refactor: Disable faucet plugin by default * fix: Update to latest changes * feat: Add faucet payload layout * refactor: Move faucet to dapps * feat: Enable the faucet to send funds* Fix: fix tests * fix: Fix test * fix: Initiate LedgerState * Update packr on dashboard * refactor: refactor SendFunds in faucet dapp * feat: Add faucet integration test * feat: Add faucet integration test to script * doc: Add function descriptions * fix: fix wrong parameter in CheckBalances * fix: fix * fix some stuff * make the faucet configurable via CLI flags * make the faucet seed a parameter in the integration tests * activate the faucet on the peer master in docker-network * fixes wrong address route in faucet view * improves faucet processing log message * fix log messages in faucet dapp * improve error message further * fixes unit tests * adds tool to auto. gen. address * dog * wait for faucet funding tx to get booked before processing the next request * make the dog stay silent * decrease pow difficulty to 1 in int. tests * use 4 as the pow difficulty in integration tests * * fix integration tests * dec. pow diff to 1 * use 0 for the faucet integration test * use a worker pool to serve faucet funding requests Co-authored-by: Luca Moser <moser.luca@gmail.com>
Showing
- plugins/dashboard/frontend/src/app/components/Faucet.tsx 31 additions, 0 deletionsplugins/dashboard/frontend/src/app/components/Faucet.tsx
- plugins/dashboard/frontend/src/app/components/FaucetAddressInput.tsx 78 additions, 0 deletions...hboard/frontend/src/app/components/FaucetAddressInput.tsx
- plugins/dashboard/frontend/src/app/components/Root.tsx 7 additions, 0 deletionsplugins/dashboard/frontend/src/app/components/Root.tsx
- plugins/dashboard/frontend/src/app/misc/Payload.ts 2 additions, 1 deletionplugins/dashboard/frontend/src/app/misc/Payload.ts
- plugins/dashboard/frontend/src/app/stores/ExplorerStore.tsx 1 addition, 0 deletionsplugins/dashboard/frontend/src/app/stores/ExplorerStore.tsx
- plugins/dashboard/frontend/src/app/stores/FaucetStore.ts 66 additions, 0 deletionsplugins/dashboard/frontend/src/app/stores/FaucetStore.ts
- plugins/dashboard/frontend/src/main.tsx 3 additions, 0 deletionsplugins/dashboard/frontend/src/main.tsx
- plugins/dashboard/packrd/packed-packr.go 19 additions, 28 deletionsplugins/dashboard/packrd/packed-packr.go
- plugins/dashboard/payload_handler.go 17 additions, 4 deletionsplugins/dashboard/payload_handler.go
- plugins/dashboard/routes.go 1 addition, 0 deletionsplugins/dashboard/routes.go
- plugins/webapi/faucet/plugin.go 76 additions, 0 deletionsplugins/webapi/faucet/plugin.go
- tools/docker-network/docker-compose.yml 2 additions, 1 deletiontools/docker-network/docker-compose.yml
- tools/integration-tests/runTests.sh 1 addition, 1 deletiontools/integration-tests/runTests.sh
- tools/integration-tests/tester/framework/docker.go 9 additions, 0 deletionstools/integration-tests/tester/framework/docker.go
- tools/integration-tests/tester/framework/parameters.go 5 additions, 0 deletionstools/integration-tests/tester/framework/parameters.go
- tools/integration-tests/tester/tests/faucet/faucet_test.go 64 additions, 0 deletionstools/integration-tests/tester/tests/faucet/faucet_test.go
- tools/integration-tests/tester/tests/faucet/main_test.go 23 additions, 0 deletionstools/integration-tests/tester/tests/faucet/main_test.go
- tools/integration-tests/tester/tests/testutil.go 37 additions, 0 deletionstools/integration-tests/tester/tests/testutil.go
- tools/rand-address/main.go 11 additions, 0 deletionstools/rand-address/main.go
Loading
Please register or sign in to comment