Fantom-foundation / Artion-Server

Artion API Server

Home Page:https://artion.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a new NFTITEM?

wojciech-turek opened this issue · 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?

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

@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

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

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