Inspiration
What it does
CryptoLink allows users to buy products using usdt ( blockchain eccomerce app )
How we built it
we used truffle to deploy contracts to ganache's local development blockchain , there is backend , a little bit of frontend and of course 2 smart contracts i also created "mock/fake" smart contract for usdt, the way it works : first we are getting payid from backend, then we are creating "payment" in mongodb collection ,where we store id of item bought, payid , and isPaid, so then we are paying with usdt and smart contract emits event, backend side is constantly listening for event, and when it gots one it takes payid from event and in database changes isPaid value to true then user is requesting to another endpoint with payid and backend checks if isPaid is true then returns value.
Challenges we ran into
combining this all frameworks together was hard word and of course implementing secure payment system with token!
What's next for CryptoLink
cryptolink will switch from local development blockchain to mainnet and users will be able to sell stuff just like real marketplace!
Built With
- ethers
- express.js
- mongodb
- solidity
- web3

Log in or sign up for Devpost to join the conversation.