NFT2NFT — Fraudulent/Accidental failure to swap- Polygon Network

This guide will take you through the fourth 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

Payment EV/NFT for Payment EV/NFT — with a twist.

https://emblem.finance/nft?id=832175137

I shall be offering this EV, on account 0x5B3cFb86a9575a2C42fd88AA71F0957004fa9209

https://emblem.finance/nft?id=227967

I have changed the settings to switch off Dark Mode — top left corner, easier to read the drop down button text.

Settings

Clicking the “Make an Offer (NFT2NFT)” button, then select “Emblem Vault V2” for the EV, then “227967” in the drop down, finally clicking “Make Offer” and sign the MetaMask transaction.

If you haven’t used this before, there will be a further “Approve Spend” option to confirm on MetaMask

This will take the payment in Coval (set at 10 for this test) then display the offered EV/NFT.

You have the option to “Withdraw Offer” if you wish to cancel the transaction.

I have changed EVM account to the Owner of the NFT (0x5fD31ec5b8bEdDF0312ae0905B74E50ab0DcDDa4)

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.

However we wont be accepting the offer just yet.

If you haven’t used this before, there will be a further “Approve Offer” option to confirm on MetaMask.

This is to show that the offer is now available in the sellers view, …….and now the Twist !

I am transferring the EV/NFT to another account (0x9D94CC809beEdA68b25b82ecEEA95b208604007a)

Now I have gone back to the NFT Owners account (0x5fD31ec5b8bEdDF0312ae0905B74E50ab0DcDDa4)

This will show that the “Offer” NFT has gone, so there can not be any swap transaction — because the EV/NFT is no longer in the buyers account through fraudulent or accidental means.

Completing the transaction

This will show the “Offer” still in place, since the MetaMask signature is still valid.

Changing yet again back to the EVM account of the Owner of the NFT (0x5fD31ec5b8bEdDF0312ae0905B74E50ab0DcDDa4)

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.

https://polygonscan.com/tx/0x2615942cbe4eae92e3aa4a6a5297f096a2596a23bdfc0454deb359fb4b2fe468

The swap will occur and the seller will also pay 10 Coval (set at 10 for this test).

Further Testing

Different Network Testing

ERC1155 Testing

Further information

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