Skip to content

🏦 Unique Bid Auction Game decentralized application.

Notifications You must be signed in to change notification settings

pavponn/unique-bid-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏦 Unique Bid Auction

MIT license

Decentralized Unique Bid Action game implemented using Solidity (for smart contracts) & React for frontend. Poject based on scaffold-eth by Austin Griffith.


⏱ Quickstart:

First, you'll need NodeJS>=10 plus Yarn and Git installed.

πŸ’Ύ Clone/fork repo and then install:

git clone https://github.com/pavponn/unique-bid-dapp.git

cd unique-bid-dapp

yarn install

πŸ’‘ Sometimes the install throws errors like "node-gyp", try the next step even if you see problems.
(You can also download the Apple command line tools to fix the warning.)


βš›οΈ React frontend powered by πŸ“±create-eth-app using πŸ”§Ethers.js and the πŸ¦„Uniswap template:

yarn start

πŸ“ Edit your frontend App.js in packages/react-app/src and open http://localhost:3000


β›“ Start your local blockchain powered by πŸ‘·β€β™€οΈBuidler:

yarn run chain

Note: You'll need to run this command in a new terminal window

πŸ›  Use this eth.build to double-check your local chain and account balances

Other commands

βš™οΈ Compile your contracts:

yarn run compile

🚒 Deploy your contracts to the frontend:

yarn run deploy

πŸ” Watch for changes then compile, deploy, and hot reload the frontend:

yarn run watch

πŸ”¬Test your contracts by editing myTest.js in packages/buidler/contracts:

yarn run test

πŸ— List your local accounts:

yarn run accounts

πŸ’° Check account balance:

yarn run balance **YOUR-ADDRESS**

πŸ’Έ Send ETH:

yarn run send --from 0 --amount 0.5 --to **YOUR-ADDRESS**

πŸ”§ Configure πŸ‘·Buidler by editing buidler.config.js in packages/buidler


✨ The BuidlerEVM provides stack traces and console.log debugging for our contracts ✨


Screenshots




Copyright

Pavel Ponomarev, 2020 ([email protected])

MIT License.