Skip to content

How does Smart-Wallet work? #6934

Answered by dckc
anilhelvaci asked this question in Q&A
Discussion options

You must be logged in to vote

a "big picture" of smart-wallet style apps is now in the docs: Smart Wallet Dapp Architecture

sequenceDiagram
  actor client

  box aqua Cosmos SDK layer
  participant chain
  end

  box darksalmon Hardened JS VM
  participant walletFactory
  participant zoe
  participant contract
  end

    client->>chain: Offer tx
    chain->>walletFactory: Offer Spec
    walletFactory->>+zoe: Offer
    walletFactory-->>chain: Offer status
    client->>+chain: vstorage query
    chain-->>-client: Offer status
    zoe->>+contract: Proposal
    contract-->>-zoe: reallocations
    zoe-->>-walletFactory: payouts
    walletFactory-->>chain: Offer status
    client->>+chain: vstorage query
    chain-->>-cl…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dckc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants