Replies: 1 comment
-
notes in progress A typical progression is:
Write and test a contractUse Not discussed there: Permissioned, Permissionless DeploymentKeep in mind the phased roll-out of the Agoric chain:
The beta release of the Agoric SDK was a preview of permissionless smart contracts that extended the distributed computing framework all the way out to client machines in a peer-to-peer fashion. Much of the SDK documentation is written for this architecture, but aspects of it are not complete for production use. The architecture that was deployed in phase 1 is a smart wallet architecture where clients can make RPC queries and send signed offer transactions. Until phase 3, smart contract deployment is permissioned by BLD staker governance.
Test it on a sim chainUse Use the REPL to interact with the contract. sequenceDiagram
participant wallet-ui
note right of wallet-ui: on desktop
participant ag-solo
note right of ag-solo: wallet-vat
participant zoe
wallet-ui->>ag-solo: makeInvitation()
ag-solo-->>cardStore: makeMintInvitation()
cardStore-->>ag-solo: inv1
ag-solo->>zoe: offer(inv1, { want: { name: 'Fred' } })
zoe-->>cardStore: handle(seat1, { want: { name: 'Fred' } })
cardStore-->>zoe: zcfMint(character)
zoe-->>ag-solo: { payouts: character }
Test it on a local chain - permissionless preview styleAs discussed in Starting Multiuser Dapps: Use Test it on a local chain - permissioned contract deploymentSee Permissioned Contract Deployment. Missing
See also: Smart Wallet Dapp Architecture. devnetSee https://devnet.agoric.net/ for chain-id, RPC, explorer, faucet, etc. devnet validators include a few nodes run by Agoric plus several by community members. devnet gets reset occasionally with little notice. Devnet supports both permissionless and permissioned deployment. To set up an ag-solo client for permissionless deployment, see: emerynetEmerynet, like mainnet, supports only permissioned deployment. See https://emerynet.agoric.net/ for chain-id, RPC, explorer, faucet, etc. mainnet |
Beta Was this translation helpful? Give feedback.
-
I was recently asked about this...
Beta Was this translation helpful? Give feedback.
All reactions