How to use event sync for Crypto Punks

Hello. I am trying to find out why I am not being able to sync any data to the database?

I LOVE Moralis!!! I am excited to find out how I can be able to display the information correctly. I did try the 2 beta servers (as in the video, it shared to be in beta mode)

Everything seems to be setup correctly. I was able to submit with no errors.





{
“anonymous”: false,
“inputs”: [
{
“indexed”: true,
“name”: “punkIndex”,
“type”: “uint256”
},
{
“indexed”: false,
“name”: “value”,
“type”: “uint256”
},
{
“indexed”: true,
“name”: “fromAddress”,
“type”: “address”
},
{
“indexed”: true,
“name”: “toAddress”,
“type”: “address”
}
],
“name”: “PunkBought”,
“type”: “event”
}

Topic: PunkBought(uint256,unit256,address,address)

what is the server url where you tried that?

can you also point to a transaction on chain that has that event?

  1. what is the server url where you tried that?

I found this in my dashboard:
Server URL: https://yijkfypltmil.usemoralis.com:2053/server
Aka: https://beta.moralis.io/servers

  1. I don’t understand what you are requesting. Can you clairify so I obtain this information for you. Sorry. I am a newbie “can you also point to a transaction on chain that has that event?”

This is where the video pointed for the events/code/contract ID

https://etherscan.io/address/0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb#code

Event: event PunkBought(uint indexed punkIndex, uint value, address indexed fromAddress, address indexed toAddress);

I mean a transaction that emits that event, for example this transaction: https://etherscan.io/tx/0xaad8ec4cbbc830a13fb02c8ea42d48960d5e59972ac802f7e7222adc190cb838#eventlog emits PunkOffered (index_topic_1 uint256 punkIndex, uint256 minValue, index_topic_2 address toAddress) event.

You shouldn’t use beta now, you can use the normal admin interface.

try to create a normal server without using a beta version

I created a normal server. I still have the same issue. I posted error codes below:

2022-02-17T15:11:21.881Z - Error: Invalid username/password.
at /moralis-server/lib/Routers/UsersRouter.js:116:17
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:21.862Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:15.055Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:14.047Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:13.034Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:11.930Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:11.592Z - Error: Invalid function: “coreservices_getConfig”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:10.922Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:09.911Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:08.903Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:07.892Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:11:06.878Z - Error: Invalid function: “pluginsReady”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:10:33.036Z - Error: Invalid function: “coreservices_getConfig”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)
at /moralis-server/lib/PromiseRouter.js:85:20
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-17T15:10:10.134Z - Error: Invalid function: “coreservices_getConfig”
at handleCloudFunction (/moralis-server/lib/Routers/FunctionsRouter.js:126:13)

You can see those errors at the beginning when server starts to setup, you can ignore them

Why isn’t the data pulling? I may do a video so you can see the steps.

IT WORKED! Thank you!!! It just took time to complete the task!

1 Like