Open carlos-kryha opened 1 year ago
Related PR: https://github.com/Agoric/agoric-sdk/pull/5946
updated for "use well-known agoricNames
" approach, which is actually more relevant to #8156
In a monopoly-like game dapp, players can trade real estate assets. To join the game, Alice will buy a few pieces of real estate for 0.25 IST.
The game was launched thru chain-wide (BLD staker) governance. In the process, a new "Game Real Estate" issuer and brand were registered as well-known (via agoricNames.issuer
, agoricNames.brand
). Likewise the game instance is registered in agoricNames.instance
.
Alice chooses a few pieces of real-estate using the game UI. The game UI proposes an offer to the game contract of 0.25 for these pieces of real-estate. Alice signs the offer and receives the real estate NFTs.
Details/questions:
AssetKind
and decimalPlaces
should probably be associated with the issuer and brand throughoutcc @otoole-brendan @turadg
addIssuer
flowoutdated
todo: review
see
based on the alternative flow where BLD stakers agree to add to agoricNames.issuer
in the same core eval script where they start a permissioned contract, I filled in some more detail in a test:
The current work in progress addresses a different scope; I made a new issue to represent it:
some brainstorming in this area:
What is the Problem Being Solved?
In order for the agoric web wallet to handle arbitrary ERTP assets, we've been using the following frontend code when running a local sim-chain + ag-solo
With ag-solo out of the picture in mainnet 2, how would we go about letting the wallet know about ERPT assets created in our contracts? Assuming we have the asset's issuer boardId readily availble
Description of the Design
Task list that was here was actually addressing a different scope: #8156
Security Considerations
Scaling Considerations
Test Plan