Skip to content

Creates an ERC-20 Token and a smart contract that swaps this token for a fixed rate of ETH. With a user interface in ReactJS

Notifications You must be signed in to change notification settings

MathisPeyronne/ERC-20-Token-ETH-Swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC-20-Token-ETH-Swap

Creates an ERC-20 Token and a smart contract that swaps this token for a fixed rate of ETH.

With a user interface in React

Make it run

Install all the node packages:

npm install

Launch Ganache, exposing the port 7545 normally.
Then migrate the smart contracts to the blockchain:

truffle migrate --reset

Launch the webserver(Hosted locally on port 3000):

npm run start

Finally, Connect your MetaMask to the ganache blockchain :)

About

Creates an ERC-20 Token and a smart contract that swaps this token for a fixed rate of ETH. With a user interface in ReactJS

Topics

Resources

Stars

Watchers

Forks