Skip to content

Commit e829527

Browse files
committed
Add StackBlitz code preview
Fixes #2199
1 parent 2228294 commit e829527

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

sdk/connect/javascript-dynamic.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,7 @@ Common issues and solutions include:
211211
- Test on actual mobile devices.
212212
- Verify redirect URLs.
213213
- Check MetaMask mobile app installation.
214+
215+
## Live example
216+
217+
<iframe className="mt-6" width="100%" height="600px" frameBorder="0" src="https://stackblitz.com/github/MetaMask/metamask-sdk-examples/tree/main/partners/dynamic?ctl=1&embed=1&file=app%2Fproviders.tsx&hideNavigation=1"></iframe>

sdk/connect/javascript-wagmi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ After completing the basic setup, you can follow these guides to add your own fu
188188
- [Manage networks](../guides/manage-networks.md)
189189
- [Handle transactions](../guides/handle-transactions.md)
190190
- [Interact with smart contracts](../guides/interact-with-contracts.md)
191+
192+
## Live example
193+
194+
<iframe className="mt-6" width="100%" height="600px" frameBorder="0" src="https://stackblitz.com/github/MetaMask/metamask-sdk-examples/tree/main/quickstarts/wagmi?ctl=1&embed=1&file=wagmi.config.ts&hideNavigation=1"></iframe>

sdk/connect/javascript-web3auth.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,7 @@ export const SendTransaction = () => {
214214
);
215215
};
216216
```
217+
218+
## Live example
219+
220+
<iframe className="mt-6" width="100%" height="600px" frameBorder="0" src="https://stackblitz.com/github/MetaMask/metamask-sdk-examples/tree/main/partners/web3auth?ctl=1&embed=1&file=app%2Fproviders.tsx&hideNavigation=1"></iframe>

sdk/connect/javascript.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,7 @@ const batchResults = await provider.request({
186186
params: [{ method: 'eth_accounts' }, { method: 'eth_chainId' }],
187187
})
188188
```
189+
190+
## Live example
191+
192+
<iframe className="mt-6" width="100%" height="600px" frameBorder="0" src="https://stackblitz.com/github/MetaMask/metamask-sdk-examples/tree/main/quickstarts/javascript?ctl=1&embed=1&file=src%2Fmain.js&hideNavigation=1"></iframe>

0 commit comments

Comments
 (0)