Open-source generator scripts of ptoken and pcustomtoken list

Hello @Support,

Could the devs make the generator scripts of https://api.incognito.org/pcustomtoken/list and https://api.incognito.org/ptoken/list open-source? So the full-node owners don’t need to use incognito’s server (i.e. more decentralization) and to rework writing those scripts?

Thanks

P.S. … and they aren’t banned like me :rofl: possibly due to intentionally or unintentionally exceeding the rate limits.

7 Likes

Hi @binh, how do you think about this one?

1 Like

@abduraman you can call list token from chain without via api. this only like a cached data from chain.

1 Like

@binh I know but they are slower. That’s why I request generator scripts. Like you, I’ll cache them and periodically update them.

1 Like

So won’t you share them @binh? :innocent:

I want this too.

3 Likes

Hi, this is example how it work .
read & write Redis DB
https://kb.objectrocket.com/redis/nodejs-and-redis-example-1149

image

2 Likes

Hi @binh,

I think we misunderstand each other :slight_smile: I meant the source code of the app/service you show, not its technology. I know the code is easy but there are two reasons why I request to make it open-source.

1- It requires a boring programming task, i.e. get data from RPC and convert it to your format.

2- If you change it sometime later, we can update our local service quickly too.

Thanks.

3 Likes