You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As soon as, I would love to have MVP.
However, some things are slowing me down.
1. Architecture choice
a. Time Warp
The ideal solution we have described with @Maar-io is that we have marketplace contract that should emit Register(collection: Account32, medatada: BoundedVec<u8>)
When this event is registered by the SubSquid indexer it should spawn a new SubIndexer that would fetch this (PSP34) contract.
However, as I mentioned in #3. The only indexer I have seen is from Talisman, and the architecture suffers a lot.
b. Factory
The second possible solution is to abandon any smart contracts outside the Marketplace Factory contract.
However, this has a few issues:
There is currently no filtering for events (Something that EVM has)
Since BatchProcessor has terrible DX (sorry to be harsh), It spawns many unnecessary logs that need to be manually processed.
Quick 🩹 : skip using the batch processor. (Faster to implement/ slower for indexing)
As soon as, I would love to have MVP.
However, some things are slowing me down.
1. Architecture choice
a. Time Warp
The ideal solution we have described with @Maar-io is that we have marketplace contract that should emit
Register(collection: Account32, medatada: BoundedVec<u8>)
When this event is registered by the SubSquid indexer it should spawn a new
SubIndexer
that would fetch this (PSP34
) contract.However, as I mentioned in #3. The only indexer I have seen is from Talisman, and the architecture suffers a lot.
b. Factory
The second possible solution is to abandon any smart contracts outside the Marketplace Factory contract.
However, this has a few issues:
BatchProcessor
has terrible DX (sorry to be harsh), It spawns many unnecessary logs that need to be manually processed.Quick 🩹 : skip using the batch processor. (Faster to implement/ slower for indexing)
Still missing filter, as said in #4
c. Dima's dirty hacking
As I already spoke with @dzhelezov (15 Dec 2022 at 17:27:28), he suggested:
That means
This solution can break in three parts:
The text was updated successfully, but these errors were encountered: