DEV Community

Row-Bear
Row-Bear

Posted on

Launch your own SorobanRPC server

This is a submission for the Build Better on Stellar: Smart Contract Challenge : Create a Tutorial

Your Tutorial

https://dev.to/row-bear/rpc-for-soroban-mainnet-36eo

What I Created

This is a tutorial I wrote shortly after the launch of Soroban, to help devs set up their own SorobanRPC server.
Now, there are also good public RPC services available, but this may still be useful for someone out there.

Journey

Int he days leading up to the launch of Soroban, I had set myself the goal to be the first to invoke a Soroban contract.
I realized that there'd likely not be any public RPC service available off the bat, so I figured out how to use the SorobanRPC docker image to run my own.

Alas, I did think of the RPC Server, but did not properly account for the resource limits.
Deploying the XLM contract was not possible with the CLI during phase 0, so my RPC Server ended up not used. Overcat managed to deploy the contracts via SDK, leaving me the dubious honour of being the first to 'burn' a stroop via smart contract transfer.

Anyway, I hope this may still come in handy for anyone wanting their own RPC server for developing and testing purposes.

As always, join the Stellar Dev discord to discuss the technical stuff, and the Stellar Global discord for everything Stellar.

Happy coding!

Top comments (0)