Skip to content

Runbook: RUN Protocol Preview

Dan Connolly edited this page Apr 22, 2022 · 25 revisions

context: #5062 Install RUN Protocol Preview release in devnet

Train voters; develop support for the proposal

Store contracts on chain; generate proposal to start them

install agoric-sdk

what version, exactly?

git clone ...
yarn
yarn build

start local solo

cd packages/solo

# NETCONFIG_URL=https://stage.agoric.net/network-config # for practice
NETCONFIG_URL=https://devnet.agoric.net/network-config

export AG_SOLO_BASEDIR=/tmp/stage20  # directory of your choosing

./bin/ag-solo setup --netconfig=${NETCONFIG_URL}

Deploy the contracts

This takes several minutes and costs quite a few RUN. I think enough RUN is automatically provisioned above.

cd ../../packages/run-protocol
yarn build  # not necessary, by design, but a worthwhile double-check
yarn deploy

Send the governance proposal to the blockchain

this prototype from PR 5165 needs work:

cd ../cosmic-swingset
make start-committee VOTE_PROPOSAL=1 # salt to taste
make start-runStake VOTE_PROPOSAL=2
make gov-q

Vote on our validators

It may be necessary to become a whale if we don't get sufficient community partipation.

  • how was Ari doing this?

For voting 1 user: gov-cosmos-vote.sh

Test the results

in the REPL, check E(E(home.agoricNames).lookup('instance')).getEntries() and look for...

  • details TBD.

21 Apr attempt showed instances; yay!

image

Clone this wiki locally