-
Follow the steps here to install the
agoric-sdk
and agoric CLI tool. -
Checkout the latest beta release for
agoric-sdk
:git checkout beta
-
Git clone this repository, and pull down the latest from branch
beta
-
Navigate to where you cloned
treasury
, and doagoric install
-
To start a local chain for development, do
agoric start --reset --verbose
-
Open your wallet with
agoric open
. -
When the UI changes from gray to white (be patient), transfer some funds from the Agoric RUN currency purse to the Zoe fees purse.
-
In another terminal, in
treasury
, doui/use-on-chain-config.js
. This will use the default on-chain settings. -
To start the UI locally, do
cd ui && yarn start
-
The treasury will ask you to
please approve the Treasury Dapp in your wallet.
Click on theenabled
switch to do this.
Instead of using the default on-chain settings, you can deploy the
contract and api by using the scripts in exampleDeployScripts
. These are
not intended to be run with the dapp directly as-is, but rather as
starting points for configuring the deployment in different ways.