Skip to content

Activeledger guide

This guide is the least you need to know to run, operate and use Activeledger. It is for the person who has to stand up a network, keep it running, and send it work.

Activeledger is a distributed ledger: a shared record kept by several computers, where a change is accepted only when enough of them agree. Application logic lives in contracts you write in TypeScript. If you have never seen it before, read Concepts first. It takes a few minutes and makes every other page shorter.

Where to start

Pick the task you have. Each list is in the order to do it.

Run a node

  1. Install and build
  2. Run a first node, then a small network
  3. config.json: what you need to set
  4. How many nodes, consensus, builds and upgrades

Send a transaction

  1. Keys, identities and namespaces
  2. Sending a transaction and reading the result
  3. The HTTP endpoints you need

Write a contract

  1. What a contract is
  2. Writing a contract
  3. The contract API you will use
  4. Deploy, update, lock and unlock
  5. Running a contract

Run a hybrid

  1. What a hybrid node is and when to use one
  2. Set up and run a hybrid
  3. Operating hybrids
  4. Writing contracts that also run on hybrids

Restore a node

  1. Restoring a node
  2. The activerestore command

Reference

Three programs

Program What it does
activeledger Runs a node. This is the only one you must run.
activerestore Heals a node that has fallen behind or started empty. A node starts it for you by default.
activehybrid Runs a hybrid: a lighter node that follows the network but does not vote. Optional.