docker-tron-quickstart icon indicating copy to clipboard operation
docker-tron-quickstart copied to clipboard

How to run tron grid API on my own full node

Open zeroXBami opened this issue 4 years ago • 4 comments

Hello team,

Thanks you for this docker container so awesome for developer. As I see that when I build my private network by using this docker, its also build for me Trongrid API that I can listen to every event happen in my contract at API localhost:9090/v1/contracts/:address/events So the question is If I run my own full node on testnet(nile, shasta), or mainnet, how can I config to build that API connect to my fullnode? Is there any instruction or suggestion? Thanks.

zeroXBami avatar Aug 22 '20 10:08 zeroXBami

you cannot join Tron grid.

but you can build similar things like trongrid. just build a database based on block data, and then you can develop similar services based on your local database.

Benson0224 avatar Aug 24 '20 08:08 Benson0224

you cannot join Tron grid.

but you can build similar things like trongrid. just build a database based on block data, and then you can develop similar services based on your local database.

Hi, I see tronprotocol team developed this event plugin to filter event emitted by a contract and then put them into mongodb, but to be honest the instruction makes me quite confused. Have you tried this one?

zeroXBami avatar Aug 24 '20 08:08 zeroXBami

you cannot join Tron grid. but you can build similar things like trongrid. just build a database based on block data, and then you can develop similar services based on your local database.

Hi, I see tronprotocol team developed this event plugin to filter event emitted by a contract and then put them into mongodb, but to be honest the instruction makes me quite confused. Have you tried this one?

the guide is quite clear, check it: https://developers.tron.network/docs/event-plugin-deployment-mongodb

Benson0224 avatar Aug 24 '20 09:08 Benson0224

you cannot join Tron grid.

but you can build similar things like trongrid. just build a database based on block data, and then you can develop similar services based on your local database.

How can you do it?

tdnhduc avatar Jan 25 '21 07:01 tdnhduc