{"id":19383217,"url":"https://github.com/danielabalde/nft-swapper","last_synced_at":"2025-04-23T21:31:35.300Z","repository":{"id":41205871,"uuid":"508731678","full_name":"DanielAbalde/NFT-Swapper","owner":"DanielAbalde","description":"Peer to peer exchange of multiple NFTs","archived":false,"fork":false,"pushed_at":"2022-08-22T13:36:08.000Z","size":490,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:11:41.183Z","etag":null,"topics":["ethereum","exchanger","nft","nft-collection","nft-gallery","nft-marketplace","nft-store","polygon","swapper"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielAbalde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-29T14:44:18.000Z","updated_at":"2024-04-25T12:47:30.000Z","dependencies_parsed_at":"2022-07-14T23:30:42.482Z","dependency_job_id":null,"html_url":"https://github.com/DanielAbalde/NFT-Swapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAbalde%2FNFT-Swapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAbalde%2FNFT-Swapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAbalde%2FNFT-Swapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAbalde%2FNFT-Swapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielAbalde","download_url":"https://codeload.github.com/DanielAbalde/NFT-Swapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250517735,"owners_count":21443832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","exchanger","nft","nft-collection","nft-gallery","nft-marketplace","nft-store","polygon","swapper"],"created_at":"2024-11-10T09:24:59.253Z","updated_at":"2025-04-23T21:31:34.873Z","avatar_url":"https://github.com/DanielAbalde.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003eNFT SWAPPER (BETA)\u003c/h3\u003e \n\u003cp align=\"center\"\u003ePeer to peer exchange of multiple NFTs on EVM chains\u003c/p\u003e\n \n\n\nInstead of listing your NFTs and waiting for an offer, this exchanger registers an agreement to swap specific tokens for other specific tokens. The registry creator chooses who and what to exchange, and the swap takes place when the second party accepts the deal. It is generic or extensible to other types of tokens, both fungible and non-fungible.\n\nThe main contract is the [NFTSwapper](./contracts/NFTSwapper.sol), where swaps are stored and handled. For each type of token, there is a specific contract that follows the [ISwapperHandler](./contracts/ISwapperHandler.sol) interface. These are responsible for the transfer, so these are the addresses to be approved as operators by the NFT owners.\n\n### Contract Addresses 🔑\n\n| Chain\t| Swapper | ERC721 | ERC1155 | LSP7 | LSP8 | \n|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|\n| Mumbai\t| [0xa211...c8c](https://mumbai.polygonscan.com/address/0xa2119757427C842670aDba41FaeF914fcC9eDc8c#code) | [0xE406...825](https://mumbai.polygonscan.com/address/0xE40692FFdCAf5703EdB523863E86fa1e9F8D2825#code) | [0x8c5d...a97](https://mumbai.polygonscan.com/address/0x8c5d6396489fE528B227D62fA3483bb346824a97#code) | [0x7eCF...73C](https://mumbai.polygonscan.com/address/0x7eCFb1D1BB649F8C7bBf099B15f68D7Cb662a73C#code) | [0xC243...04D](https://mumbai.polygonscan.com/address/0xC2439e3ED3Be3f8723C84eAb8aD8DCAb9243804D#code) |\n| L16 | [0xB5Ed...B69](https://explorer.execution.l16.lukso.network/address/0xB5EdfF2d1c3a6d3d0664D170c990179e88028B69/transactions) | - | - | [0xC3C2...9f40](https://explorer.execution.l16.lukso.network/address/0xC3C2a3f3017605b7199250056359eC3Db95d9f40/transactions) | [0xa3A3...4fB](https://explorer.execution.l16.lukso.network/address/0xa3A3E1fB1B3C42296bBC45b3Cd2bc5dd3aE454fB/transactions) |\n\n### Steps 🗺️\n* Create a new swap agreement by registering the bidder, tendered, NFT contract addresses, the token IDs and amounts.\n* Owners of NFTs must approve as operator the Swapper handlers addresses on the NFT contracts. \n* One tendered can claim the swap and both receive the other's NFTs.\n\n### Contribute ☕\n* Issues and Pull Request on Github are welcome.\n* Let me know if you deploy the contracts on a different EVM blockchain.\n* Buy me a coffee at 0x4443049b49Caf8Eb4E9235aA1Efe38FcFA0055a1\n* Share it on social media!\n\n### Contact ✉️\n * Twitter: [@DGANFT](https://twitter.com/DGANFT)\n * Discord: [DaniGA#9856](https://discord.com/invite/H4WMdnz5nw)\n\n### License ♻️\n  * [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielabalde%2Fnft-swapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielabalde%2Fnft-swapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielabalde%2Fnft-swapper/lists"}