Please make sure you install the agoric-sdk first.
- Clone the agoric SDK repository (
git clone https://github.com/Agoric/agoric-sdk) cd agoric-sdkgit checkout fedf049435d7307311219fbab1b2b342ec6acce8- Now, do:
yarn installyarn buildyarn link-cli ~/bin/agoric(or other directory you might prefer)
- Build the
cosmic-swingsetpackage.cd agoric-sdk/packages/cosmic-swingset && make # Display the directory that should be in your $PATH. echo ${GOBIN-${GOPATH-$HOME/go}/bin} # Attempt to run a binary that was installed there. ag-cosmos-helper version --long
- Clone this repository
git clone https://github.com/anilhelvaci/dapp-pool-lending-protocol/ - cd
dapp-pool-lending-protocol - Install dependencies
agoric install - Verify all went well:
Due to some problem related to ava setup we can only run test when we're in the contract/ directory. So you should cd to contract/ directory until this issue is resolved.
cd contract- Run
npx ava --verbose test/lendingPool/test-lendingPool.js.
- For the code checkout
feature/expanded-demonstrate. - For the YouTube video, click here.
For the demo showcased in Cosmoverse 2022, git checkout feature/cosmoverse and follow the steps there.