MetaMask / metamask-docs

Developer documentation for MetaMask
https://docs.metamask.io
Apache License 2.0
633 stars 905 forks source link

Add interactive code samples #707

Open vandan opened 1 year ago

vandan commented 1 year ago

@alexandratran commented on Tue Jan 17 2023

Use CodeSandbox to display interactive code samples. This might take the place of the example button implementations in the legacy site, for example see Accessing Accounts, Connecting to MetaMask, and Sending Transactions.


@vandan commented on Tue Apr 04 2023

Next step would be to fully set up CodeSandbox with a set of global dependencies.

httpJunkie commented 1 year ago

We probably need Shane or Zach to create a bare-bones simple example of a code sandbox for a feature that we could test this out with.

Signing transactions or maybe using the wallet_watchAsset or wallet_addSwitchChain API.