Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nethereum/Nethereum.Faucet
Simple faucet to fund Ethereum accounts
https://github.com/Nethereum/Nethereum.Faucet
Last synced: about 2 months ago
JSON representation
Simple faucet to fund Ethereum accounts
- Host: GitHub
- URL: https://github.com/Nethereum/Nethereum.Faucet
- Owner: Nethereum
- License: apache-2.0
- Created: 2017-06-01T13:44:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T14:00:06.000Z (6 months ago)
- Last Synced: 2024-05-29T22:09:37.899Z (4 months ago)
- Language: C#
- Size: 2.01 MB
- Stars: 9
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- DeFi-Developer-Road-Map - Nethereum.Faucet - A C#/.NET faucet (Roadmap)
README
# Nethereum.Faucet
Faucet template to fund EVM based chain accounts, including web front end and rest api
![Faucet demo](screenshots/NethereumFaucet.png "Faucet demo")
## Installation as a dotnet new template
To install the faucet as a "dotnet new" template use the following command:```
dotnet new -i Nethereum.Templates.Faucet::*
```Then run:
```
dotnet new nethereumfaucet -n YourChainFaucet
```Where -n YourChainFaucet is the Name and Namespace of your project.
## Manual clone, installation
Clone the repo,
install the template by running
```
dotnet new install .\
```and you will get:
```
Template Name Short Name Language Tags
------------------------------------ ---------------- -------- ----------------
Nethereum Faucet Blazor and Rest Api nethereum-faucet [C#] Nethereum/Faucet```
## Configuration settings:
### Appsettings.jsonPlease modify the appsettings file to provide the Ethereum address, Explorer for transactions, private key and the maximum amount to fund.
```
"RpcAddress": "http://localhost:8545",
"FunderPrivateKey": "0xb5b1870957d373ef0eeffecc6e4812c0fd08f554b37b233526acc331bf1544f7",
"MaxAmountToFund": "0.05",
"AmountToFund": "0.05",
"CurrencySymbol": "ETH",
"ChainName": "Ethereum",
"UrlTxnExplorer": "http://BLOCKEXPLORER-ADDRESS/"
```