Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 893 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 893 Bytes

Agoric AMM

Development

  1. Follow the steps here to install the agoric-sdk and agoric CLI tool
  2. Checkout the latest beta release for agoric-sdk: git checkout beta
  3. Git clone this repository, and pull down the latest from branch beta
  4. Navigate to where you cloned dapp-amm, and do agoric install
  5. To start a local chain for development, do agoric start --reset --verbose
  6. In another terminal, in treasury, do ui/use-on-chain-config.js. This will use the default on-chain settings.
  7. To start the UI locally, do cd ui && yarn start
  8. Open your wallet with agoric open

Reusing the code with other parameters

Instead of using the default on-chain settings, you can deploy the contract and api by using the scripts in exampleDeployScripts as templates to get started.