File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
wallet/how-to/manage-networks Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Establish a connection to MetaMask Flask and set up basic message handling using
3232
3333``` javascript
3434// Initialize the connection to Flask.
35- const EXTENSION_ID = " ljfoeinjpaedjfecbmggjgodbgkmjkjk" ; // Replace this with ID of your Flask extension.
35+ const EXTENSION_ID = " ljfoeinjpaedjfecbmggjgodbgkmjkjk" ; // Flask extension ID
3636const extensionPort = chrome .runtime .connect (EXTENSION_ID )
3737
3838// Set up message listener for events.
@@ -51,8 +51,6 @@ extensionPort.onMessage.addListener((msg) => {
5151})
5252```
5353
54- Make sure to replace the ` EXTENSION_ID ` value with the ID of your Flask extension.
55- You can find this in your browser's extension manager.
5654
5755### 2. Manage sessions
5856
@@ -114,7 +112,7 @@ extensionPort.postMessage({
114112 },
115113 " eip155:59141" : { // Linea Sepolia
116114 methods: [
117- " personal_sign" ,
115+ " personal_sign" ,
118116 " eth_blockNumber" ,
119117 " eth_gasPrice" ,
120118 " eth_getBalance" ,
@@ -218,7 +216,7 @@ extensionPort.postMessage({
218216
219217#### 3.3. Send transactions
220218
221- You can send transactions on a network where the user has sufficient gas , by invoking
219+ You can send transactions on a specific network , by invoking
222220[ ` eth_sendTransaction ` ] ( /wallet/reference/json-rpc-methods/eth_sendtransaction ) .
223221For example:
224222
You can’t perform that action at this time.
0 commit comments