ZracheSs-xyZ / PayoutScript-xyZ

70 stars 51 forks source link

How do I run it on a private rpc node? #14

Open YuMurata opened 2 years ago

YuMurata commented 2 years ago

Hi there.

A 503 error has occured when I run get_claimed_slp(). I think the cause is this. https://discord.com/channels/410537146672349205/505902543927246870/903005058701066341

Hey, to clarify, the public RPC node got limited to only allow normal queries / methods. If yo try to filter or do more complicated queries, the node will automatically answer with a 403 error, to avoid a node overload as it got spammed/ddosed again.

If the public RPC doesn't meet the requirements of your script / app anymore, you can set up your own node. Here are the instructions: https://docs.google.com/document/d/1M20n7HTOdezgM4dgFUsHGOH6Z758Bf684R3NXGPewOw/edit For the requirements, we suggest 4 cores, 8GB RAM and 500 GB SSD. A bandwith of around 40Mb/s should be enough.

I launched private RPC node and sent request to http://127.0.0.1:8545. But, error occurred.

web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function, is contract deployed correctly and chain synced?

How do I run it on a private rpc node?