nftAbi #1183
Replies: 4 comments 29 replies
-
Flowchart of how Opensea's Seaport/Marketplace works: https://github.com/ProjectOpenSea/seaport/blob/main/diagrams/Seaport.drawio.svg |
Beta Was this translation helpful? Give feedback.
-
The ways of fetching the ABI @krakxn mentioned are indeed correct. There is one more way:
This one is similar to the one @krakxn recommended, but instead of directly displaying the tokens the wallet has, we do it by transactions instead |
Beta Was this translation helpful? Give feedback.
-
from my understanding, ABI is the interface, so they get it from standards, such as IERC721 and IERC1155 |
Beta Was this translation helpful? Give feedback.
-
@CodeLikeLisa A sample program to fetch ABI w/ Ethers: // Using Solidity
// The compiler
var solc = require('solc');
// Contract source code
var source = "contract TestContract { }";
// The compiled result
var compiled = solc.compile(source);
// The ABI
var abi = compiled.contracts.TestContract.interface |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to find out if anyone here has a resource or knows how one world fetch abi's of an infinite number of nft collections... I was surprised to find out nftAbi's are necessary for a marketplace to interact with a collection as it confused me regarding how marketplaces have access to these abi's (automatically - I understand the manual process that is shared in this tutorial) as I am unaware of a call that fetches abi's from the blockchain/etherscan etc... Does anyone have any guidance they're willing to share on this? or logic even... Am I thinking about this the right way?
Beta Was this translation helpful? Give feedback.
All reactions