Starting with RSK Smart
This introduction is intented to guide you through the process needed to create, publish and verify your first contract in RSK Smart network. We will start with the basics on how to install tools and the different options you have to develop your contracts, if you already know that you can just jump directly to the Smart Contracts part.
Editor and compiler
You can create your contracts using any text editor but it is a good idea to use some more advanced tool, the following is a list of some of them:
- IntelliJ IDEA
- Visual Studio Code
You can find a more complete list here.
Online in-browser compiler
There is an online editor/compiler for Solidity that can be very useful for beginners. It does not requires to install any additional tool and it can be found here.
With the online editor you can write and verify the syntax, compile and see the resulting code, it's a very good tool for learning Solidity.
There is an open source tool called Truffle that facilitates development a lot since it allows you to connect to your local RSK Smart node and call the compiler, run unit tests and publish your contracts in a very easy way. We have a nice tutorial here.
Publishing your contracts using RSK Console
If you don't want to use Truffle you can create your contracts with any text editor (or the online editor), compile them and publish directly to the RSK Smart network using the RSK Console.
Using RPC calls
Another option to develop your contracts is using the standard RPC protocol (full compatible with Ethereum) with any tool you want like cURL, Postman or Fiddler (Windows only). For a detailed introduction on how to deploy contracts using RPC calls go here.