Skip to content
You are reading GoQuorum development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Getting started

Prerequisites

  1. Install necessary dependencies

  2. Install Tessera

Starting Tessera and sending a payload

1. Generate keys

Generate a key pair in files called myKey.pub and myKey.key.

Bash

tessera -keygen -filename myKey

When prompted to enter a password, press enter to generate an unlocked key.

Caution

We are using unlocked keys for educational purposes only. Ensure private keys are secured appropriately in production environments.

2. Create a configuration file

Create a file called tessera.conf and add the following properties.

Tessera configuration file

{
   "useWhiteList": false,
   "jdbc": {
       "username": "sa",
       "password": "",
       "url": "jdbc:h2:./target/h2/tessera1",
       "autoCreateTables": true
   },
   "serverConfigs":[
       {
           "app":"ThirdParty",
           "enabled": true,
           "serverAddress": "http://localhost:9081",
           "communicationType" : "REST"
       },
       {
           "app":"Q2T",
           "enabled": true,
           "serverAddress": "unix:/tmp/test.ipc",
           "communicationType" : "REST"
       },
       {
           "app":"P2P",
           "enabled": true,
           "serverAddress":"http://localhost:9001",
           "sslConfig": {
               "tls": "OFF"
           },
           "communicationType" : "REST"
       }
   ],
   "peer": [
       {
           "url": "http://localhost:9001"
       },
       {
           "url": "http://localhost:9003"
       }
   ],
    "keys": {
        "passwords": [],
        "keyData": [
            {
                "privateKeyPath": "myKey.key",
                "publicKeyPath": "myKey.pub"
            }
        ]
   },
   "alwaysSendTo": []
}

3. Start Tessera node

tessera -configfile tessera.conf

Tip

If the command line help is displayed, enable debugging and try again.

tessera --debug -configfile tessera.conf

4. Upcheck

Use the upcheck method to confirm Tessera is up and running.

curl http://localhost:9081/upcheck
I'm up!
ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can discuss issues and obtain free support on Tessera Slack channel.
For paid professional support by ConsenSys, contact us at quorum@consensys.net