NFT2NFT — One Seller, Multiple Buyers- Polygon Network
This guide will take you through the sixth test towards the goal of the NFT2NFT marketplace release
Circuits of Value (COVAL)’s project EmblemVault https://emblem.finance is one step closer to its Universal Cryptocurrency/NFT Marketplace.
First thing to do, is to create an EmblemVault (EV) NFT
One EV/NFT seller, with 2 different acct’s EV/NFT offered & another different acct offering ERC/MRC20 token.
Ill be purchasing this EV, on account (0x5B3cFb86a9575a2C42fd88AA71F0957004fa9209)
I shall use the following accounts to make offers.
Account 1 — (0x9D94CC809beEdA68b25b82ecEEA95b208604007a)
https://emblem.finance/nft?id=450466 —
Circuits of Value (COVAL) — Lego Star Destroyer Vault
— — — — — — — — — — — — — — — — — — — — — — — — — —
Account 2 — (0xcA5664F2C2c04a82d421030A0DefB998112e83D9)
https://emblem.finance/nft?id=899828 —
Circuits of Value (COVAL) Web Fluid Vault
— — — — — — — — — — — — — — — — — — — — — — — — — —
Account 3 — (0x5fd31ec5b8beddf0312ae0905b74e50ab0dcdda4)
MRC20 token WETH quantity 0.003
— — — — — — — — — — — — — — — — — — — — — — — — — —
Rather than hash through the same process to get to the seller of each EV/NFT & the ERC20 token, I’ll proceed to the Sellers “Offers”. However if you haven't read how this is done please click the below link.
I have changed EVM account to the Owner of the NFT (0x5B3cFb86a9575a2C42fd88AA71F0957004fa9209)
Click the “My Offers (NFT2NFT)” will allow you to “Reject Offer” or “Accept Offer”, opening up MetaMask to sign the confirmation and swap will occur.
If you haven’t used this before, there will be a further “Approve Offer” option to confirm on MetaMask
Due to being multiple Offers, you may scroll down the list and look at them, before deciding on your options.
In this case I will accept the 0.003 WETH Offer.
The swap will occur and the seller will also pay 10 Coval (set at 10 for this test), plus 1% of the 0.003 WETH (0.00003 ($0.07) seen on the block explorer).
Seller receives 0.00297 ($6.84) WETH
Now that the swap is completed, checking the other accounts that missed out on the trade, shows that the offers are no longer displayed since the EV/NFT belongs to another account.
Further Testing
Different Network Testing
ERC1155 Swaps
Further information
Circuits of Value Official Telegram room : https://t.me/Coval_Chat
Circuits of Value web page : https://circuitsofvalue.com
EmblemVault application : https://emblem.finance/create
Tokenomics : https://medium.com/@emblem_vault/circuits-of-value-tokenomics-9a0f5d72789b