Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Simple Web3 application, where you can buy products for Ethereum and recive token which you can use to lower the price by 10%.

Notifications You must be signed in to change notification settings

StudentTraineeCenter/web3-eshop

Repository files navigation

WEB3 ESHOP

Simple Web3 application, where you can buy products for Ethereum and recive token which you can use to lower the price by 10%. You can try it out here or read article on suduj.digital blog.

Dependencies

Setup

First install node packages using npm install then initialize truffle project using truffle init. Now move from "smart contracts" folder "2_deploy_MyToken.js" to "migrations" and "MyToken.sol" to "contracts" folder. If you plan to deploy to public network, use "truffle_config.js" from "smart contracts" folder.

Deployment

For deployment on local network use truffle deploy. For public networks add --network <network name> flag.

Run app

Just type npm start and app will run on http://localhost:3000.

About

Simple Web3 application, where you can buy products for Ethereum and recive token which you can use to lower the price by 10%.

Topics

Resources

Stars

Watchers

Forks