Not able to sync between ganache and Morlais database?

I have written my smart contract on remix ide and have deployed that contract on Local chain (Ganache), now i am trying to sync data from my contract to moralis data base, but it is neither even creating a database.

my abi
{
“anonymous”: false,
“inputs”: [
{
“indexed”: false,
“internalType”: “string”,
“name”: “bankname”,
“type”: “string”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “pincode”,
“type”: “uint256”
},
{
“indexed”: false,
“internalType”: “string”,
“name”: “country”,
“type”: “string”
},
{
“indexed”: false,
“internalType”: “string”,
“name”: “state”,
“type”: “string”
},
{
“indexed”: false,
“internalType”: “string”,
“name”: “ifsccode”,
“type”: “string”
},
{
“indexed”: false,
“internalType”: “string”,
“name”: “region”,
“type”: “string”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “role”,
“type”: “uint256”
}
],
“name”: “bankCreated”,
“type”: “event”
}

what is the topic that you used?

is the proxy connected to your server?
can you also paste the server url?

yes proxy server is connected,
server url: https://pqdh3zp4pyei.usemoralis.com:2053/server

i don’t know about topic, what is topic

I restarted corservices on that server, you can try to reset the devchain from admin interface, there is a button close to where you see that the proxy is connected

thanks it worked, but i realised my address is in capital letters that’s why it is not getting synced, can you tell me where should i convert my address to lowercase, whether filters of sync and watch events or in cloud functions.

because i don’t understand the syntax for writing in the filters

1 Like

you can use it everywhere in lowercase, to be sure

1 Like

@crax i suggest cloud functions because it is executed from backend and incase front-end validation for lower case fails, it would not sync

1 Like

thanks for the support, it is working now.

1 Like