Skip to content

amolfound/Ethfaucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Designed a node js based ethereum faucet. Requests signed by client (using ethereum priv key) can be made by the client and sent to faucetServer which verifies the request and uses a web3 wallet to transfer funds to client.

Resources:

Wallet.js: wrapper around web3 for basic calls and account initialisation functions like getBalance, transferEth, signTxn, waitForTxn (n confirmations)

FaucetServer.js: http server which validates eth request(signed using eth priv keys) from clients. Has a replay attack prevention scheme with message salts and timestamps

FaucetClient.js: prepares a signed request to make ether requests to faucetServer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •