Documentation
ryanleecode opened this issue · 2 comments
ryanleecode commented
- Document Polkadot Provider spec; must live in the substrate connect repo
- Document the "Multi Injected Provider" spec
jsdw commented
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:
- 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]
- 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.
ryanleecode commented
Marking this as done