Ropsten Ethereum Faucet: Smart Contract

Jackson Ng
Coinmonks

--

Motivation

This series of tutorial documents my process of building an Ethereum faucet on the Ropsten Testnet. This is the 2nd article of the series and it explains how the Faucet Smart Contract works.

Photo by Zbysiu Rodak on Unsplash
  1. Ropsten Ethereum Faucet: How it works
  2. Ropsten Ethereum Faucet: Smart Contract
  3. Ropsten Ethereum Faucet: JSON Web Service
  4. Ropsten Ethereum Faucet: Web App

The source codes for this project are in the project’s Github repository and the faucet smart contract is accessible here.

Discover and review best Ethereum development tools

Setting up the Faucet Smart Contract

To compile the faucet smart contract, visit the Remix Ethereum IDE. Create a new smart contract file and name it faucet.sol.

Paste the faucet source code into faucet.sol.

--

--