Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdcm/buy-me-a-beer
Buy me a beer
https://github.com/rdcm/buy-me-a-beer
beer blockchain dapp eth ethereum hardhat metamask pixijs solidity typescript
Last synced: 22 days ago
JSON representation
Buy me a beer
- Host: GitHub
- URL: https://github.com/rdcm/buy-me-a-beer
- Owner: rdcm
- License: mit
- Created: 2024-04-09T20:50:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T21:16:32.000Z (9 months ago)
- Last Synced: 2024-05-17T06:49:50.568Z (8 months ago)
- Topics: beer, blockchain, dapp, eth, ethereum, hardhat, metamask, pixijs, solidity, typescript
- Language: TypeScript
- Homepage:
- Size: 473 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Buy me a beer
DAPP project with metamask integration. After tap on `buy me a beer` button opened metamask wallet for perform transaction.
![button](./images/button.jpeg)
## Up & Runnig
From `hardhat` folder:
- `npm i` - install dependencies
- `npm run node` - up hardhat network (returns list of test accounts)
- `npm run deploy` - deploy wallet contract (at this point copy.js script copy required artifacts to frontend folder), also you may need to change value for `WALLET ADDRESS` const.From `frontend` folder:
- `npm i` - install dependencies
- `npm run dev` - run dev server, browse site at `http://localhost:5173/`### Metamask
- Add localhost network manually `New RPC URL: http://localhost:8545`, `Chain ID: 31337`
- Add one of test accounts