Governance contracts framework developed by Windranger to be proposed to BitDAO.
Build images of the above flow diagrams:
npm install
npm run plant
Images are generated and placed into the ./build
folder. Image files are numbered incrementally
for each newpage
in ./docs/flows/flows.puml
.
export TS_NODE_FILES=true
export NODE_API_KEY=http://127.0.0.1:8545
export MNEMONIC=186e446fbd41dD51Ea2213dB2d3ae18B05A05ba8
or other address
export ETHERSCAN_API_KEY=ABC
(not essential)
yarn
yarn build
Do the following in a different terminal window:
yarn add ganache-cli
./node_modules/ganache-cli/cli.js
yarn test
npx hardhat test
npm install
npm run build
npm config set include=dev
npm install
Do the following in a different terminal window:
npm install ganache-cli
./node_modules/ganache-cli/cli.js
npm run test
npx hardhat test
To create or update the renders for the Plant UML sequence diagrams
java -version
The output will vary depending on OS, however if it fails claiming Java is not found, then you must install before proceeding.
docs/spec
npm run plant
Not yet defined