Creating Circles "offers"

Here is a simple framework of how you can make an offer for CRC. You might want to sell an NFT or other tokens for CRC.

I created a simple “factory contract” that allows you to create an “offer” for ERC20 tokens.

I created on example offer here:

After you have created one - don’t forget to sent tokens to the contract. I created an offer to buy 100 of my own CRC for 1 EURe so I sent EURe tokens to the contract here: ERC20SellerNoArgs | Address 0xdd03767ec53923e80c2e07611984e32daf8d700b | GnosisScan

Now - any Metri user can sent 100 CRC to this address: 0xdD03767eC53923e80c2e07611984e32DaF8d700B (the pathfinder will make sure that it finds a path to Martin-tokens) and if they do - this contract will return 1 EURe - and forward the 100 CRC to the owner of the contract (The address that deployed the “offer” by default - though you can change the owner and e.g. set it directly to your Circles account (as I did here).

3 Likes

nice :heart_eyes: hope to see real crc on own dex