My Version of Udacity Crypto Star Dapp
https://cryptostar.netlify.app/
The app is quite full featured. You can :
- Create stars.
- Swap stars with another user. Required each account to approve the transaction beforehand.
- Transfer stars to another address.
- Put stars up for sale.
- Buy stars that are available for sale.
- Options change depending on whether you are the owner of the star that is listed.
https://rinkeby.etherscan.io/address/0xd1d6F822FD86682F6b00F4489E1410b3B466052b
https://rinkeby.etherscan.io/token/0xd1d6F822FD86682F6b00F4489E1410b3B466052b
- I renamed
lookUptokenIdToStarInfo
toidToStar
and didn't include a function as it's a public mapping so doesn't need a specific method. - App doesn't look up stars, it displays a set of cards that display information for each card. See
react-app/src/useStar.js
for how star info is collected.
CSS Background Effect https://codepen.io/alphardex/pen/RwrVoeL