Rise In Logo

Build on Agoric

Project 2: Marketplace

Project 2: Marketplace

In this homework, you will modify the smart contract that is designed to mint, sell and resell event tickets as non-fungible tokens (NFTs) in the form of a semi-fungible asset. The contract includes three categories of tickets with different pricing:

In the below mentioned github repository, you can find the smart-contract.

GitHub Repo: https://github.com/Agoric/dapp-agoric-basics/tree/main

  • Tickets near the front are the most expensive.
  • Tickets in the middle rows are priced between the expensive and cheap seats.
  • Tickets in the back are the lowest priced.

Task:

  • To improve the contract’s efficiency by directly using the vault address instead of deriving it from the admin address. Once modified, test and deploy the updated contract.
  • Add a ticket re-sell feature: Implement a function that enables users to re-sell tickets they have already purchased.

Good luck with your homework assignment!

Project

Comments

You need to enroll in the course to be able to comment!

Stay in the know

Never miss updates on new programs and opportunities.

Rise In Logo

Rise together in web3!

Disclaimer: The information /programs / events provided on https://patika.dev and https://risein.com are strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice and do not make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://patika.dev and https://risein.com disclaim any responsibility for financial decisions made by users based on information provided here.