Open CiFrameVladislavB opened 2 years ago
Your going to either need to use the atomicassets module if your using something like react or create your fetch to their api and grab the assets based on collection name and the users name.
I'm guessing you already have the login part figured out as well as showing/storing the persons username (ie. ab1123.wam). Api link looks something like this
Where as the account name would be the persons username and the collection name you can set to whatever collection you want to show. It's best to put the fetch into it's own file such as a config.js and just import it into the "nft showcase" page that you are trying to view the assets on. To keep things clean create a styled wrapper for the cards such as cardwrap.js.
The cardwrap.js would basically be a styled div that organizes what data is displayed. After fetching from the api the info to grab in most cases are data.name, rarity, and data.img.
Honestly with as many dev's there are in the eos/wax space I can't believe more aren't open to teaching others :p
@BattleBlockz Thank you
That depends on how atomicassets has their smart contract setup. Wax and atomicassets might have guides to assist in this.