Skip to content
/ archon Public

Provides functionality for Arbitrator and Arbitrable Ethereum smart contracts as defined in ERC 792 and ERC 1497.

Notifications You must be signed in to change notification settings

kleros/archon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1975e22 · Jun 5, 2024
Sep 22, 2021
Aug 18, 2023
Oct 16, 2021
May 30, 2024
Oct 19, 2021
Sep 22, 2021
Jul 13, 2021
Oct 15, 2021
Sep 22, 2021
Aug 18, 2023
Sep 22, 2021
Sep 22, 2021
Aug 18, 2023
May 20, 2024
Jan 22, 2021
Oct 10, 2021
May 20, 2024
Mar 11, 2024
Aug 18, 2023

Repository files navigation

Archon

Archon provides functionality for Arbitrator and Arbitrable Ethereum smart contracts as defined in ERC 792 and ERC 1497.

Documentation

See full documentation at https://archon.readthedocs.io/en/latest/index.html

Installation

npm install @kleros/archon

Basic Usage

var Archon = require('@kleros/archon');

var archon = new Archon('wss://some.local-or-remote.node:8546');

> archon.arbitrator
> archon.arbitrable
> archon.utils
> archon.version

Test

yarn ganache
yarn test

Build

yarn run build

Update Docs

The documentation is based on Sphinx. Install Sphinx with your global python or in a virtualenv

pip install sphinx
  1. Update .rst files in /docs

  2. Run to generate new docs bundle

cd docs && make html
  1. View changes
open ./docs/_build/html/index.html
  1. Push changes