Coder Social home page Coder Social logo

v-rizzy / blackstone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from j-h-scheufen/blackstone

0.0 0.0 0.0 5.21 MB

Smart contracts and high level API powering the Agreements Network

License: Other

Makefile 0.04% JavaScript 0.55% Shell 0.01% Solidity 32.35% TypeScript 67.05%

blackstone's Introduction

/$$       /$$                     /$$                   /$$
| $$      | $$                    | $$                  | $$
| $$$$$$$ | $$  /$$$$$$   /$$$$$$$| $$   /$$  /$$$$$$$ /$$$$$$    /$$$$$$  /$$$$$$$   /$$$$$$
| $$__  $$| $$ |____  $$ /$$_____/| $$  /$$/ /$$_____/|_  $$_/   /$$__  $$| $$__  $$ /$$__  $$
| $$  \ $$| $$  /$$$$$$$| $$      | $$$$$$/ |  $$$$$$   | $$    | $$  \ $$| $$  \ $$| $$$$$$$$
| $$  | $$| $$ /$$__  $$| $$      | $$_  $$  \____  $$  | $$ /$$| $$  | $$| $$  | $$| $$_____/
| $$$$$$$/| $$|  $$$$$$$|  $$$$$$$| $$ \  $$ /$$$$$$$/  |  $$$$/|  $$$$$$/| $$  | $$|  $$$$$$$
|_______/ |__/ \_______/ \_______/|__/  \__/|_______/    \___/   \______/ |__/  |__/ \_______/
The Blackstone codebase is a collection of smart contracts which together form the basis for the Agreements Network.

It is named after Sir William Blackstone, an English jurist, judge, and politician of the eighteenth century.

This collection includes a full-feature business process execution engine in Solidity, with Typescript bindings. It also include an object management suite utilized by the Agreements Network.

Preliminary Note

While the code in this repository is geared towards its use in the Agreements Network, the lower-level functions and smart contracts are highly reusable and suited to build any blockchain-based ecosystem application. If you would like to learn more about the interfaces used in this system please visit the documentation site for the network.

To ask questions or to learn more feel free to join the Agreements Network mailing list to ask questions or to join the community.

Prerequisites

  • make
  • docker
  • yarn
yarn add global ts-node
yarn add global typescript

Getting Started

Install all dependencies.

yarn install

Run a single-node Burrow chain.

make docker_run_chain

Launch the tests, deploying the suite beforehand.

yarn test

Compilation

If you update the Solidity contracts, you must re-compile the framework to get up-to-date bindings.

yarn build

This will also compile the Typescript, saving build artifacts to ./dist. There are separate scripts listed in package.json.

Alternatively, we also support compilation, linking and deployment via the legacy deploy tooling.

make build_contracts

Upgrades

cd ./src
burrow deploy --chain=localhost:10997 --address=${ADDRESS} --bin-path ./bin ../upgrades/${UPGRADE}.yaml

blackstone's People

Contributors

compleatang avatar dependabot[bot] avatar gregdhill avatar j-h-scheufen avatar ommish avatar sambuds avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.