Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Tenderly Cli | 465 | 10 | a month ago | 134 | October 26, 2023 | 30 | gpl-3.0 | Go | ||
CLI tool for Smart Contract error tracking, monitoring and alerting. | ||||||||||
Theta Protocol Ledger | 353 | 21 days ago | 27 | February 23, 2022 | 53 | gpl-3.0 | Go | |||
Reference implementation of the Theta Blockchain Ledger Protocol | ||||||||||
Near Cli | 177 | 7 | 6 months ago | 32 | August 15, 2022 | 171 | mit | JavaScript | ||
General purpose command line tools for interacting with NEAR Protocol | ||||||||||
Ergo | 144 | 10 | 9 | a year ago | 960 | November 08, 2022 | 46 | apache-2.0 | Coq | |
Programming Language for Smart Legal Contracts | ||||||||||
Vvisp | 91 | 4 | 3 | 4 years ago | 19 | June 24, 2019 | 16 | mit | JavaScript | |
A Smart Way to Operate Smart Contracts on EVM Based Blockchains like Ethereum | ||||||||||
Techdocs | 49 | 10 months ago | 30 | apache-2.0 | CSS | |||||
Accord Project Documentation | ||||||||||
Solidity Cli | 46 | 4 | 12 | 5 years ago | 6 | November 27, 2018 | 1 | apache-2.0 | TypeScript | |
Compile solidity-code faster, easier and more reliable | ||||||||||
Cli | 38 | 2 | 3 days ago | 30 | November 16, 2023 | 14 | apache-2.0 | TypeScript | ||
Develop WASM smart contracts with the Archway network developer CLI | ||||||||||
Framework | 32 | 2 years ago | 7 | mit | TypeScript | |||||
Lightweight, open source and magic-free framework for testing solidity smart contracts. | ||||||||||
Web3j Openapi | 29 | 2 | 6 months ago | 15 | January 28, 2021 | 3 | Solidity | |||
OpenAPI compliant service generator for Solidity Smart contracts |
This is the source code for the Ergo compiler. Ergo is the Accord Project language for Smart Legal Contracts.
The Ergo compiler is distributed as an npm package.
The Ergo compiler is written using the Coq proof assistant, with parsing and support code written in OCaml. It makes extensive use of the Q*cert compiler for code generation and type checking.
Both the Ergo language and its compiler are in early development phase. If you would like to build from source or to contribute, consult the DEVELOPERS file.
If you want to take a peek at Ergo without installing anything, check out the interactive REPL (read-eval-print-loop) for Ergo stand-alone, or the Accord Project Template Studio which illustrates Ergo in Accord Project templates.
The most recent Ergo documentation is in the [Ergo Language Guide][docergo].
Top level repository (ergo), with sub packages. Each sub-package is published as an independent npm module using lerna
:
The easiest way to install Ergo is as a Node.js package. Once you have Node.js installed on your machine, you can get the Ergo compiler and command-line using the Node.js package manager by typing the following in a terminal:
$ npm install -g @accordproject/ergo-cli
This will install the Ergo command-line (ergo
) and Read-Eval-Print-Loop (ergotop
). Those will allow you to create, test and compile Ergo contracts. You can check your installed version by typing the following in a terminal:
$ ergo --version
Or to get command line help:
$ ergo --help
ergo <command>
Commands:
ergo draft create a contract text from data
ergo trigger send a request to the contract
ergo invoke invoke a clause of the contract
ergo initialize initialize the state for a contract
ergo compile compile a contract
Options:
--help Show help [boolean]
--version Show version number [boolean]
--verbose, -v [default: false]
To create a contract text from a contract:
$ ergo draft --template ./tests/volumediscount --data ./tests/volumediscount/data.json
To obtain the initial state of the contract:
$ ergo initialize --template ./tests/volumediscount --data ./tests/volumediscount/data.json
06:40:29 - info:
To send a request to a contract:
$ ergo trigger --template ./tests/volumediscount --data ./tests/volumediscount/data.json --request ./tests/volumediscount/request.json --state ./tests/volumediscount/state.json
06:40:01 - info:
{
"clause": "orgXaccordprojectXvolumediscountXVolumeDiscount",
"request": {
"$class": "org.accordproject.volumediscount.VolumeDiscountRequest",
"netAnnualChargeVolume": 10.4
},
"response": {
"$class": "org.accordproject.volumediscount.VolumeDiscountResponse",
"discountRate": 2.8,
"transactionId": "13fa7cb6-03fc-4fd8-8e12-9a85ac8d5eb7",
"timestamp": "2019-10-12T23:56:33.688Z"
},
"state": {
"$class": "org.accordproject.cicero.contract.AccordContractState",
"stateId": "1"
},
"emit": []
}
To invoke a specific clause of the contract:
$ ergo invoke --template ./tests/volumediscount --clauseName volumediscount --data ./tests/volumediscount/data.json --params ./tests/volumediscount/params.json --state ./tests/volumediscount/state.json
To compile your first Ergo contract to JavaScript:
$ ergo compile ./tests/volumediscount/model/model.cto ./tests/volumediscount/logic/logic.ergo
Processing file: ./tests/volumediscount/logic.ergo -- compiled to: ./tests/volumediscount/logic.js
By default, Ergo compiles to JavaScript for execution. You can inspect
the compiled JavaScript code in ./tests/volumediscount/logic.js
Accord Project is an open source, non-profit, initiative working to transform contract management and contract automation by digitizing contracts. Accord Project operates under the umbrella of the Linux Foundation. The technical charter for the Accord Project can be found here.
The Accord Project technology is being developed as open source. All the software packages are being actively maintained on GitHub and we encourage organizations and individuals to contribute requirements, documentation, issues, new templates, and code.
Find out what’s coming on our blog.
Join the Accord Project Technology Working Group Discord Server to get involved!
For code contributions, read our CONTRIBUTING guide and information for DEVELOPERS.
Using Accord Project? Add a README badge to let everyone know:
[](https://www.accordproject.org/)
Accord Project source code files are made available under the Apache License, Version 2.0. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0).
Copyright 2018-2019 Clause, Inc. All trademarks are the property of their respective owners. See LF Projects Trademark Policy.