DEV Community

Row-Bear
Row-Bear

Posted on

3 2 3 2 3

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!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free