Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
15 stars 39 forks source link

docs: using `publishBrandInfo` to make ERTP brands available in vstorage #1188

Open 0xpatrickdev opened 2 months ago

0xpatrickdev commented 2 months ago

If a contract developer create a brand/issuer in their contract, they need a way to share the resulting boardId with an off chain client if the client wishes to make an offer using the brand.

One way to do this is by using the publishBrandInfo helper:

The docs section should show the developer how to publish from the contract side and how to read from the dapp/offchain client side.

0xpatrickdev commented 2 months ago

Question - is it a requirement to produce the issuer in the core-eval? Or this is only needed if the proposer wants to make the issuer available in the bootstrap space for future proposals? cc @dckc

https://github.com/Agoric/agoric-sdk/blob/d6f50e32f6f19bb14cfe4530812609dff00d21b8/packages/smart-wallet/test/start-game1-proposal.js#L51-L53