-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build a Client UI - document ui-kit #922
Comments
the smart wallet architecture page has a bunch of details that are kinda abstracted by ui-kit |
#1035 is not merged. |
Updated the ticket body with more context, approach and high level requirements. @samsiegart to provide how-to page structure based on his experience building client UIs. |
The short "how to make an offer" video developed in #976 seems worth keeping. I'd like to see
|
@dckc I hadn't seen that make-an-offer page before, that's good stuff. We're planning a full tutorial-style thing with multiple pages, starting from:
Each section would walk through with code snippets and shell commands so the user can build along, link to relevant docs that explain the concepts/components as they come up, and we'd have different branches in |
yes, that's very close to what I had in mind. meanwhile, note https://docs.agoric.com/guides/getting-started/explainer-how-to-make-an-offer.html landed. |
oh... re wallet connection before chainStorageWatcher... that seems a little awkward: won't most dapps want to show some stuff from the chain before users connect their wallet? |
That's true, we might want to switch the order of things. After the AgoricProvider is added, you can get the |
ah... right.. dapp-offer-up started with vite |
There is a gap in our documentation on docs.agoric.com in that we don't sufficiently explain/walk-through how a developer is supposed to a) build a client UI and b) connect it to a smart contract they've build on the Agoric chain.
https://docs.agoric.com/guides/getting-started/contract-rpc.html exists but it's more conceptual and background context - which while important to the reader/developer isn't a step-by-step guide on how to actually build the client UI.
Dapp-offer-up is a functional example contract and client UI that our docs reference in 'Getting Started' section (https://docs.agoric.com/guides/getting-started/) of our docs and in the 'Smart Contract Basics' section (https://docs.agoric.com/guides/zoe/contract-walkthru.html). It stands to reason that it the 'how to build a client UI' guide uses same smart contract for continuity and consistency. It will be easier for the developer/reader to follow along.
This ticket tracks the effort to document the step-by-step process through which a developer builds client UI (using dapp offer up as an example) and connect it to the offer up smart contract for full end-to-end functionality.
Requirements:
Acceptance Criteria:
User Story: As a Developer I should be able to read the docs and get 2 things:
ui-kit and the basics of writing a dapp must be fully documented.
earlier idea:
Tasks
The text was updated successfully, but these errors were encountered: