Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
79b421d
Initial Multichain API docs
alexandratran Oct 9, 2024
3eff634
Merge branch 'main' into 1566-multichain
alexandratran Oct 9, 2024
5d85f55
Merge branch 'main' into 1566-multichain
alexandratran Oct 11, 2024
f1d72dc
edit content
alexandratran Oct 11, 2024
3ef9258
Merge branch 'main' into 1566-multichain
alexandratran Oct 11, 2024
d06c36f
fix typo
alexandratran Oct 15, 2024
45a7748
Merge branch 'main' into 1566-multichain
alexandratran Oct 22, 2024
f984b7d
edits
alexandratran Oct 22, 2024
e72193e
Merge branch 'main' into 1566-multichain
alexandratran Oct 22, 2024
6eee68f
Merge branch 'main' into 1566-multichain
joaniekube Oct 28, 2024
4be0757
Merge branch 'main' into 1566-multichain
alexandratran Oct 31, 2024
66b29ae
Merge branch '1566-multichain' of github.com:MetaMask/metamask-docs i…
alexandratran Oct 31, 2024
f83c96f
fixes
alexandratran Oct 31, 2024
ace1a08
Merge branch 'main' into 1566-multichain
alexandratran Nov 8, 2024
e752569
add how-to guide and edits
alexandratran Nov 8, 2024
9f3c5ba
minor fix
alexandratran Nov 12, 2024
290b796
Merge branch 'main' into 1566-multichain
alexandratran Nov 13, 2024
1fec541
Mention multichain tag
alexandratran Nov 13, 2024
118b981
update what's new
alexandratran Nov 13, 2024
19df454
Apply suggestions from code review
alexandratran Nov 25, 2024
4574202
Merge branch 'main' into 1566-multichain
alexandratran Nov 25, 2024
0d39c1b
address reviewer feedback
alexandratran Nov 25, 2024
6397c3d
Apply suggestions from code review
alexandratran Feb 6, 2025
401b459
Merge branch 'main' into 1566-multichain
alexandratran Feb 6, 2025
7a6aec0
feat: add multichain client docs
chakra-guy Feb 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Vandan <[email protected]>
  • Loading branch information
alexandratran and vandan authored Nov 25, 2024
commit 19df4548e4edd9239358887a2209ae6ecf5b27d2
8 changes: 3 additions & 5 deletions wallet/how-to/manage-networks/use-multichain.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Establish a connection to MetaMask Flask and set up basic message handling using

```javascript
// Initialize the connection to Flask.
const EXTENSION_ID = "ljfoeinjpaedjfecbmggjgodbgkmjkjk"; // Replace this with ID of your Flask extension.
const EXTENSION_ID = "ljfoeinjpaedjfecbmggjgodbgkmjkjk"; // Flask extension ID
const extensionPort = chrome.runtime.connect(EXTENSION_ID)

// Set up message listener for events.
Expand All @@ -51,8 +51,6 @@ extensionPort.onMessage.addListener((msg) => {
})
```

Make sure to replace the `EXTENSION_ID` value with the ID of your Flask extension.
You can find this in your browser's extension manager.

### 2. Manage sessions

Expand Down Expand Up @@ -114,7 +112,7 @@ extensionPort.postMessage({
},
"eip155:59141": { // Linea Sepolia
methods: [
"personal_sign",
"personal_sign",
"eth_blockNumber",
"eth_gasPrice",
"eth_getBalance",
Expand Down Expand Up @@ -218,7 +216,7 @@ extensionPort.postMessage({

#### 3.3. Send transactions

You can send transactions on a network where the user has sufficient gas, by invoking
You can send transactions on a specific network, by invoking
[`eth_sendTransaction`](/wallet/reference/json-rpc-methods/eth_sendtransaction).
For example:

Expand Down