Skip to content
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

Documentation #2055

Open
2 tasks
Tracked by #2058
ryanleecode opened this issue Apr 4, 2024 · 1 comment
Open
2 tasks
Tracked by #2058

Documentation #2055

ryanleecode opened this issue Apr 4, 2024 · 1 comment

Comments

@ryanleecode
Copy link
Collaborator

  • Document Polkadot Provider spec; must live in the substrate connect repo
  • Document the "Multi Injected Provider" spec
@jsdw
Copy link
Contributor

jsdw commented Apr 5, 2024

On reflection, I think we can get away with some documentation like (def open to feedback here!):

Building a compatible extension

A compatible extension has two parts to it:

  1. It is discoverable using the XXX discovery mechanism. This means that it will show up when YYY function is called within a dapp [I think we have a library function that dapps can use to do this discovery already for YYY? Link to the relevant EIP if we are 100% following it in XXX]
  2. The interface returned when the above discovery takes place matches the PolkadotProvider interface shown in ZZZ [link to the polkadot provider repo, ideally to some documentation of the interface or the actual .ts file if nothing suitable]

The template extension provided in AAA conforms to both of these, and is a good starting point for building your own wallet extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants