- This dApp is walletConnetct based ticket system
- Attendence can buy Ticket by ERC20. (This time use demo token od ERC20 only. Demo token is called OceanToken)
- Ticket which attendence bought is issued by signature of WalletConnect. (And also, that ticket is issued by timestamp and transaction-hash when attendence buy ticket)
- Attendence can show and display bought and validated ticket when they go through at gate of some events.
- Number of be able to buy ticket is limited to 100.
- Ticket price is 0.0001 OCEAN which is demo token of ERC20 (And also, OceanToken is demo token of ERC20)
- Ticket which attendence bought is issued by signature of WalletConnect.
- However, it has been in progress yet.
- Currently, it use value of constant. In future, it replace value of variable of signature of WalletConnec.
- Admin user publish ticket by pushing button of "Mint" ot "Factory Mint"
- Attdence buy published ticket by pushing a button of "BuyTicket"
- Attdence show bought and validated ticket by pushing a button of "ShowTicket" (Next time, I will implement to display bought and validated ticket by QR-code of walletConnect)
-
Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
https://metamask.io/ -
Adjust appropriate newwork below
Rinkeby Test Network
- Deploy contracts to Rinkeby Test Network
(root directory)
$ npm run migrate:rinkeby
- Execute command below in root directory.
$ npm run client
(@Note: This time, it use ./client as frontend. It doesn't use ./client2 as them)
- Access to browser by using link
http://127.0.0.1:3000
-
Gitcoin
https://gitcoin.co/issue/WalletConnect/walletconnect-monorepo/204/3767 -
WalletConnect Document
https://docs.walletconnect.org/quick-start/dapps -
WalletConnect Github
https://github.com/WalletConnect-
WalletConnect/walletconnect-example-dapp
https://github.com/WalletConnect/walletconnect-example-dapp -
WalletConnect/walletconnect-monorepo
https://github.com/WalletConnect/walletconnect-monorepo
-