Connecting to BaaS - extrimian/documentation GitHub Wiki

  1. What are services?

  2. Creating services in RSKEC

To make use of RSKEC in its full functionality we would be creating a service through the Blockchain as a service(BaaS) option.

What are services?

Services are nodes in public networks. They also act as an access point to such nodes. Once we've built a service, we can be able to send transactions and communicate or interact with these public networks e.g Lacchain, RSK, and so on.

RSKEC offers this option to enable users to add services and manage their Blockchain applications.

In the workflow below we provide a step-to-step guide on how to create a service and connect a blockchain network with that service

Creating service in RSKEC

To create a service in RSKEC first, you need to:

  1. First activate your account, if not the functionality won’t work.

  2. Then set up your location and Workspace.

  3. On your workspace dashboard, click on the workspace you want to add the service for. It reveals your workspace details.

  4. On the BaaS(Blockchain-as-a-Service) click on the + to add a new service.

  5. There are options to select from: to connect to a private node or a public node.

  6. Then choose between API or JWT. You can make a choice according to your needs.

  7. Once you have selected the service that you want click on create

  8. Once your service is created it will be added below under BaaS.

  9. Clicking on the service added below shows you the: Endpoint, type of authentication you chose and Value.

  10. For API, it looks like this:

    With this information [endpoint]?apikey=[value], you can connect and send a transaction to a blockchain network.

  11. For JWT, it looks like this:

    With this information [endpoint]?jwt=[value], you can connect and send a transaction to a blockchain network.