Inspiration
We think ERC6551 - TBA is like securities. So the NFT marketplace that is not normal is needed.
What it does
We made calculatePrice() function. It makes listings NFT’s price become this NFTboundAccount’s balance. If listings NFTboundAccount has 1LINK, listing NFT price is about 6$, and It settled about 0.003ETH. And this contract has functions as NFT marketplace.
First you use listItem() and list your NFT. Second you use calculatePrice() and change NFT’s price to NFTboundAccount’s balance. Finally someone can buy NFT as price is NFTboundAccount’s balance.
So you can buy NFT as the value of NFTboundAccount ’s assets, ERC20.
How we built it
We made calculatePrice() function using chainlink oracle price data feed. And we use codes about ERTC6551 created by tokenbound team. We read and referenced the chainlink article about how to make marketplace contract.
Challenges we ran into
We use a new concept, ERC6551 and chainlink oracle first time.
Accomplishments that we're proud of
We make a NFT marketplace for ERC6551 earlier than opensea.
What we learned
How to use chainlink oracle , ERC6551, how to make marketplace contract
What's next for NFT Marketplace for 6551 like securities market
We want to tell ERC6551 fans about this marketplace concept. In the future, everyone can make a security like S&P500 ETF and transact using NFT and ERC6551.
Built With
- chainlink
- ethers
- next
- openzeppelin
- react
- solidity
- typescript
Log in or sign up for Devpost to join the conversation.