Artion-Server icon indicating copy to clipboard operation
Artion-Server copied to clipboard

Creating a new NFTITEM?

Open wojciech-turek opened this issue 4 years ago • 6 comments

Hey Team, @javamusat @ibrahim1023 @quan8

I am running a fork of Artion and have an issue with fetchTokens which later on in the code uses NFTITEM.find().

My issue is that the tokens are created when i go through /create form (I have setup a test collection) but are not added to the database (nftitems). I've searched the code and there is nothing like new NFTITEM.

If they are not updated there I cannot fetch them.

At which point the new item is created? How do I solve this?

wojciech-turek avatar Oct 06 '21 11:10 wojciech-turek

Same problem here. Or is there another tracker that we need to run for it ? If yes, where is it ?

mickaelramanitrera avatar Oct 26 '21 13:10 mickaelramanitrera

@mickaelramanitrera you need to setup all the trackers which listen to the emitted events and they are responsible for creating new items, you can combine all trackers into one and have it running in parallel to the backend api server

wojciech-turek avatar Oct 26 '21 14:10 wojciech-turek

It is 3 trackers, which one is responsible for the nftitems ?

mickaelramanitrera avatar Oct 26 '21 14:10 mickaelramanitrera

https://github.com/Fantom-foundation/artion-auction-tracker https://github.com/Fantom-foundation/artion-marketplace-tracker https://github.com/Fantom-foundation/1155-transfer-tracker https://github.com/Fantom-foundation/1155-dist-tracker https://github.com/Fantom-foundation/721-transfer-tracker https://github.com/Fantom-foundation/721-dist-tracker https://github.com/Fantom-foundation/artion-bundle-marketplace-tracker https://github.com/Fantom-foundation/nft-contract-detector

these are all the trackers, its best to set them all up

wojciech-turek avatar Oct 26 '21 14:10 wojciech-turek

Thanks @wojciech-turek !

mickaelramanitrera avatar Oct 27 '21 05:10 mickaelramanitrera

@wojciech-turek can you share your all trackers setup?

Zohaib75 avatar Nov 12 '21 22:11 Zohaib75