You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

960 B

Concordia Contracts Package

This is the package where the contracts that power Concordia live.

Compile contracts

yarn compile

Lint contracts (and tests)

yarn lint

Migrate contracts

Define the host and port of the blockchain in use. Default values are:

host port
127.0.0.1 8545

Linux:

export CHAIN_HOST="127.0.0.1"
export CHAIN_PORT="7545"

Windows:

SET CHAIN_HOST="127.0.0.1"
SET CHAIN_PORT="7545"

Migrate (using the development network here, change if necessary):

yarn migrate --network develop

Test contracts

Define the host and port of the blockchain in use. Default values are:

host port
127.0.0.1 8546

Linux:

CHAIN_HOST="127.0.0.1"
CHAIN_PORT="7545"

Windows:

SET CHAIN_HOST="127.0.0.1"
SET CHAIN_PORT="7545"

Test:

yarn test