Giter Site home page Giter Site logo

fund9-stack's Introduction

Catalyst Fund9 Development Stack

This sets up an environment for developing the Catalyst Fund9 stack.

Requirements

git Rust v1.65 toolchain cargo-make

Clone the repositories

git clone https://github.com/input-output-hk/chain-libs.git
git clone https://github.com/input-output-hk/chain-wallet-libs.git
git clone https://github.com/input-output-hk/jormungandr.git
git clone https://github.com/input-output-hk/jortestkit.git
git clone https://github.com/input-output-hk/vit-testing.git
git clone https://github.com/input-output-hk/vit-servicing-station.git

Or, if you have write access:

# use catalyst-fund9.1-dev branch
git clone [email protected]:input-output-hk/chain-libs.git
git clone [email protected]:input-output-hk/jormungandr.git
git clone [email protected]:input-output-hk/vit-testing.git
git clone [email protected]:input-output-hk/chain-wallet-libs.git

# use master branch
git clone [email protected]:input-output-hk/jortestkit.git

# use catalyst-fund9 branch
git clone [email protected]:input-output-hk/vit-servicing-station.git

Checkout catalyst-fund9.1-dev branches

At least jormungandr, chain-libs, and vit-testing have them.

jortestkit uses master.

To build the stack

cargo make build-all

To install the stack

cargo make install-all

Example: to run vitup:

  • proposals the total number of proposals that can be voted
  • initials the total number of wallets that are registered for voting

vitup start quick --log-level debug --private --proposals 200 --slot-duration 2 --slots-in-epoch 1000 --voting-power 500 --initials 500

This creates a folder called catalyst in the current working directory.

Example: to run iapyx-load on the default host (localhost:8080):

iapyx-load node-only const duration --address http://localhost:8080 --duration 25 --delay 50 --threads 32 -s ./catalyst/quick/wallet_secrets

Example: to run iapyx-load with mitmproxy (localhost:9090)

In one terminal:

mitmproxy --listen-port 9090 --mode reverse:http://0.0.0.0:8080

You can use mitmproxy, mitmweb, or, mitmdump.

In another terminal:

iapyx-load node-only const duration --address http://localhost:9090 --duration 25 --delay 50 --threads 32 -s ./catalyst/quick/wallet_secrets

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.