Skip to content

DeltaCamp/zos-vouching-mock

Repository files navigation

zOS Vouching Mock

Sets up a local ganache node with the Zeppelin OS Vouching contracts and mock data. In support of zeppelin-vouching-app and zos-vouching

Local Usage

Clone the repo and then install deps:

$ yarn

Copy over .envrc and allow direnv:

$ cp .envrc.example .envrc
$ direnv allow

Start ganache-cli:

$ yarn start

If you changed the mnemonic, you should update the ADMIN_ADDRESS variable in .envrc with another address (I use the second address listed when ganache-cli starts).

Now start a new zos session:

$ yarn session

Push out the local contracts:

$ zos push

Migrate the contracts and bootstrap the data:

$ yarn migrate

To see what data is bootstrapped, have a look at the migrations.

Deploying to Ropsten

zos push --network ropsten --from <admin address>
yarn migrate-ropsten

About

Mock setup for ZOS Vouching contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published