Quick start

This document should help you get up and running with the Rell IDE.

Try the IDE

Point your browser to https://try.chromia.dev/ . You should see the Rell IDE.

Click Module (first element in the top bar) and then Create.

Where to create a new module

This will open a modal element where you can specify the name of the Module and the Language used (in this example: Rell).

For convenience you can include template and test code.

Create Module options window

Click the blue “Create” button. The screen will now be filled with code.

The IDE with a template

Browser
To the left bar is the Browser. You can use it to work with several examples.
Editor
Inside the central element on the left the editor filled with a template of source code.
Test window
Inside the central element on the right there is a window with XML. This is a way to run your code, simulating a real application.
Buttons
On top of the Editor there is a button “Start Node”, don’t press that one yet. There is also a button “Run tests”. Click it to see that the test passes.

Hello World!

As a minimal first application, you can make a Hello World example with a focus on Ukraine.

If you checked the use template box and look at editor section on the top, you will see this code as a template:

class city { key name; }

operation insert_city (name) {
    create city (name);
}

This is a small registry of cities. In order to run the code we need a test in XML.

<test>
<block>
    <transaction>
    <signers><param type="bytea" key="Alice"/></signers>
    <operations>
        <operation name="insert_city">
        <string>Kiev</string>
        </operation>
    </operations>
    </transaction>
</block>
</test>

Click the ‘Run tests’ button, and a green message will appear.

The IDE shows Run Succesfully

Congratulations! After all this work, we suggest that you put “Relational Blockchain” on your CV.

Where to go next?

Next step is to learn more about Rell in the Tutorial.

Prefer to learn by example instead? Start with one of our Example Projects.

However if you feel eager to click the Start Node button and create a complete running application, you can learn how to use the javascript client library in the Client section.