diff --git a/checklists/templates/terminus-setup.md b/checklists/templates/terminus-setup.md new file mode 100644 index 0000000..3cbe21f --- /dev/null +++ b/checklists/templates/terminus-setup.md @@ -0,0 +1,49 @@ +# Set up the Terminus contract + +This checklist describes how to activate the Terminus contract so that projects can start using it for +decentralized authorization. + +## Environment variables + +- [ ] `export DAO_NETWORK=` +- [ ] `export DAO_OWNER=` +- [ ] `export DAO_OWNER_ADDRESS=$(jq -r .address $DAO_OWNER)` +- [ ] `export GAS_PRICE=" gwei"` +- [ ] `export CONFIRMATIONS=` +- [ ] `export MOONSTREAM_DIAMOND=
` +- [ ] `export TERMINUS_DIAMOND=
` +- [ ] `export TERMINUS_POOL_BASE_PRICE=` + +## Set up Terminus so that people can create pools + +- [ ] Set pool base price: + +```bash +dao terminus set-pool-base-price \ + --network $DAO_NETWORK \ + --address $TERMINUS_DIAMOND \ + --sender $DAO_OWNER \ + --gas-price "$GAS_PRICE" \ + --confirmations $CONFIRMATIONS \ + --new-base-price $TERMINUS_POOL_BASE_PRICE +``` + +- [ ] Check pool base price: `dao terminus pool-base-price --network $DAO_NETWORK --address $TERMINUS_DIAMOND` + +- [ ] Pool base price should be same as `$TERMINUS_POOL_BASE_PRICE` + +- [ ] Set up payment token: + +```bash +dao terminus set-payment-token \ + --network $DAO_NETWORK \ + --address $TERMINUS_DIAMOND \ + --sender $DAO_OWNER \ + --gas-price "$GAS_PRICE" \ + --confirmations $CONFIRMATIONS \ + --new-payment-token $MOONSTREAM_DIAMOND +``` + +- [ ] Check payment token: `dao terminus payment-token --network $DAO_NETWORK --address $TERMINUS_DIAMOND` + +- [ ] Payment token should be same as `$MOONSTREAM_DIAMOND` diff --git a/checklists/terminus-setup-20211222-2049.md b/checklists/terminus-setup-20211222-2049.md new file mode 100644 index 0000000..6c2dbf1 --- /dev/null +++ b/checklists/terminus-setup-20211222-2049.md @@ -0,0 +1,49 @@ +# Set up the Terminus contract + +This checklist describes how to activate the Terminus contract so that projects can start using it for +decentralized authorization. + +## Environment variables + +- [x] `export DAO_NETWORK=polygon-test` +- [x] `export DAO_OWNER=.secrets/dao-dev.json` +- [x] `export DAO_OWNER_ADDRESS=$(jq -r .address $DAO_OWNER)` +- [x] `export GAS_PRICE="35 gwei"` +- [x] `export CONFIRMATIONS=2` +- [x] `export MOONSTREAM_DIAMOND=$(jq -r .Diamond .secrets/moonstream-mumbai-diamond.json)` +- [x] `export TERMINUS_DIAMOND=$(jq -r .Diamond .secrets/terminus-mumbai-diamond.json)` +- [ ] `export TERMINUS_POOL_BASE_PRICE=1000000000000000000` + +## Set up Terminus so that people can create pools + +- [x] Set pool base price: + +```bash +dao terminus set-pool-base-price \ + --network $DAO_NETWORK \ + --address $TERMINUS_DIAMOND \ + --sender $DAO_OWNER \ + --gas-price "$GAS_PRICE" \ + --confirmations $CONFIRMATIONS \ + --new-base-price $TERMINUS_POOL_BASE_PRICE +``` + +- [x] Check pool base price: `dao terminus pool-base-price --network $DAO_NETWORK --address $TERMINUS_DIAMOND` + +- [x] Pool base price should be same as `$TERMINUS_POOL_BASE_PRICE` + +- [x] Set up payment token: + +```bash +dao terminus set-payment-token \ + --network $DAO_NETWORK \ + --address $TERMINUS_DIAMOND \ + --sender $DAO_OWNER \ + --gas-price "$GAS_PRICE" \ + --confirmations $CONFIRMATIONS \ + --new-payment-token $MOONSTREAM_DIAMOND +``` + +- [x] Check payment token: `dao terminus payment-token --network $DAO_NETWORK --address $TERMINUS_DIAMOND` + +- [x] Payment token should be same as `$MOONSTREAM_DIAMOND`