Skip to content

Commit 2dfd94f

Browse files
just-a-nodegitbook-bot
authored andcommitted
GITBOOK-62: Sepolia Changes
1 parent c91c30a commit 2dfd94f

File tree

3 files changed

+20
-155
lines changed

3 files changed

+20
-155
lines changed

developers/guides/sdk-guides.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,24 @@ const privateKey = "<PRIVATE_KEY>";
7777
let signer = new ethers.Wallet(privateKey);
7878

7979
// Use the RPC url for the origin chain
80-
const provider = new ethers.providers.JsonRpcProvider("https://rpc.ankr.com/eth_goerli");
80+
const provider = new ethers.providers.JsonRpcProvider("https://public.stackup.sh/api/v1/node/ethereum-sepolia");
8181
signer = signer.connect(provider);
8282
const signerAddress = await signer.getAddress();
8383

8484
const sdkConfig: SdkConfig = {
8585
signerAddress: signerAddress,
8686
// Use `mainnet` when you're ready...
8787
network: "testnet",
88+
environment:"production",
89+
8890
// Add more chains here! Use mainnet domains if `network: mainnet`.
8991
// This information can be found at https://docs.connext.network/resources/supported-chains
9092
chains: {
91-
1735353714: { // Goerli domain ID
92-
providers: ["https://rpc.ankr.com/eth_goerli"],
93+
1936027759: {
94+
providers:["https://public.stackup.sh/api/v1/node/ethereum-sepolia"]
9395
},
94-
1735356532: { // Optimism-Goerli domain ID
95-
providers: ["https://goerli.optimism.io"],
96+
1869640549: {
97+
providers: ['https://sepolia.optimism.io']
9698
},
9799
},
98100
};
@@ -117,12 +119,14 @@ const {sdkBase} = await create(sdkConfig);
117119
const signerAddress = await signer.getAddress();
118120

119121
// xcall parameters
120-
const originDomain = "1735353714";
121-
const destinationDomain = "1735356532";
122-
const originAsset = "0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1";
123-
const amount = "1000000000000000000";
122+
const originDomain = "1936027759";
123+
const destinationDomain = "1869640549";
124+
const originAsset = "0xd26e3540A0A368845B234736A0700E0a5A821bBA";
125+
const amount = "100000000000000";
124126
const slippage = "10000";
125127

128+
129+
126130
// Estimate the relayer fee
127131
const relayerFee = (
128132
await sdkBase.estimateRelayerFee({
@@ -133,8 +137,8 @@ const relayerFee = (
133137

134138
// Prepare the xcall params
135139
const xcallParams = {
136-
origin: originDomain, // send from Goerli
137-
destination: destinationDomain, // to Mumbai
140+
origin: originDomain, // send from Sepolia
141+
destination: destinationDomain, // to Op-Sepolia
138142
to: signerAddress, // the address that should receive the funds on destination
139143
asset: originAsset, // address of the token contract
140144
delegate: signerAddress, // address allowed to execute transaction on destination side in addition to relayers

resources/deployments.md

Lines changed: 0 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -276,145 +276,6 @@ Note that the Test Token is a mintable ERC20. The open `mint` function has the s
276276
| -------------- | ------------------------------------------ | --------- |
277277
| TEST | 0x471F702E7D96E541488140042bCD1206Ae55CCa5 | Canonical |
278278

279-
280-
281-
{% hint style="danger" %}
282-
Goerli will soon be deprecated. Please move to Sepolia!!\
283-
_Note: all the testnets below are hooked up with Goerli as the Hub chain. They will all be deprecated._
284-
{% endhint %}
285-
286-
### Goerli
287-
288-
> Domain ID: 1735353714
289-
290-
> Chain ID: 5
291-
292-
| Core Contract | Address |
293-
| ----------------------------------------------------------------------------------------------- | ------------------------------------------ |
294-
| [Connext](https://louper.dev/diamond/0xFCa08024A6D4bCc87275b1E4A1E22B71fAD7f649?network=goerli) | 0xFCa08024A6D4bCc87275b1E4A1E22B71fAD7f649 |
295-
296-
| Asset Contract | Address | Flavor |
297-
| -------------------------------------------------------------------------------------- | ------------------------------------------ | --------- |
298-
| [TEST](https://goerli.etherscan.io/address/0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1) | 0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1 | Canonical |
299-
| [WETH](https://goerli.etherscan.io/address/0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6) | 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6 | Canonical |
300-
301-
| Peripheral Contract | Address | Description |
302-
| ------------------------------------------------------------------------------------------- | ------------------------------------------ | -------------- |
303-
| [Unwrapper](https://goerli.etherscan.io/address/0xa6633d369A9C4C8A442ef104E8e293DA7b352Acd) | 0xa6633d369A9C4C8A442ef104E8e293DA7b352Acd | WETH Unwrapper |
304-
305-
### Optimism-Goerli
306-
307-
> Domain ID: 1735356532
308-
309-
> Chain ID: 420
310-
311-
| Core Contract | Address |
312-
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
313-
| [Connext](https://louper.dev/diamond/0x5Ea1bb242326044699C3d81341c5f535d5Af1504?network=optimism\_goerli) | 0x5Ea1bb242326044699C3d81341c5f535d5Af1504 |
314-
315-
| Asset Contract | Address | Flavor |
316-
| --------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------- |
317-
| [TEST](https://goerli-optimism.etherscan.io/address/0x68db1c8d85c09d546097c65ec7dcbff4d6497cbf) | 0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF | Local/Adopted |
318-
| [nextWETH](https://goerli-optimism.etherscan.io/address/0x39b061b7e41de8b721f9aeceb6b3f17ecb7ba63e) | 0x39B061B7e41DE8B721f9aEcEB6b3f17ECB7ba63E | Local |
319-
| [WETH](https://goerli-optimism.etherscan.io/address/0x74c6FD7D2Bc6a8F0Ebd7D78321A95471b8C2B806) | 0x74c6FD7D2Bc6a8F0Ebd7D78321A95471b8C2B806 | Adopted |
320-
321-
| Peripheral Contract | Address | Description |
322-
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------ | -------------- |
323-
| [Unwrapper](https://goerli-optimism.etherscan.io/address/0x08bDeFD0e4878A814Cb2fd11C033F3947251689f) | 0x08bDeFD0e4878A814Cb2fd11C033F3947251689f | WETH Unwrapper |
324-
325-
### Mumbai
326-
327-
> Domain ID: 9991
328-
329-
> Chain ID: 80001
330-
331-
| Core Contract | Address |
332-
| ----------------------------------------------------------------------------------------------- | ------------------------------------------ |
333-
| [Connext](https://louper.dev/diamond/0x2334937846Ab2A3FCE747b32587e1A1A2f6EEC5a?network=mumbai) | 0x2334937846Ab2A3FCE747b32587e1A1A2f6EEC5a |
334-
335-
| Asset Contract | Address | Flavor |
336-
| --------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------- |
337-
| [TEST](https://mumbai.polygonscan.com/address/0xeDb95D8037f769B72AAab41deeC92903A98C9E16) | 0xeDb95D8037f769B72AAab41deeC92903A98C9E16 | Local/Adopted |
338-
| [nextWETH](https://mumbai.polygonscan.com/address/0x1E5341E4b7ed5D0680d9066aac0396F0b1bD1E69) | 0x1E5341E4b7ed5D0680d9066aac0396F0b1bD1E69 | Local |
339-
| [WETH](https://mumbai.polygonscan.com/address/0xFD2AB41e083c75085807c4A65C0A14FDD93d55A9) | 0xFD2AB41e083c75085807c4A65C0A14FDD93d55A9 | Adopted |
340-
341-
| Peripheral Contract | Address | Description |
342-
| ---------------------------------------------------------------------------------------------- | ------------------------------------------ | -------------- |
343-
| [Unwrapper](https://mumbai.polygonscan.com/address/0x1e0Db00EB08ceC7FFdA03c0Dbf224193E1563844) | 0x1e0Db00EB08ceC7FFdA03c0Dbf224193E1563844 | WETH Unwrapper |
344-
345-
### Arbitrum-Goerli
346-
347-
> Domain ID: 1734439522
348-
349-
> Chain ID: 421613
350-
351-
| Core Contract | Address |
352-
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
353-
| [Connext](https://louper.dev/diamond/0x2075c9E31f973bb53CAE5BAC36a8eeB4B082ADC2?network=arbitrum\_goerli) | 0x2075c9E31f973bb53CAE5BAC36a8eeB4B082ADC2 |
354-
355-
| Asset Contract | Address | Flavor |
356-
| ------------------------------------------------------------------------------------- | ------------------------------------------ | ------------- |
357-
| [TEST](https://goerli.arbiscan.io/address/0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f) | 0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f | Local/Adopted |
358-
| [WETH](https://goerli.arbiscan.io/address/0x1346786E6A5e07b90184a1Ba58E55444b99DC4A2) | 0x1346786E6A5e07b90184a1Ba58E55444b99DC4A2 | Local/Adopted |
359-
360-
| Peripheral Contract | Address | Description |
361-
| ------------------------------------------------------------------------------------------ | ------------------------------------------ | -------------- |
362-
| [Unwrapper](https://goerli.arbiscan.io/address/0x18BBF96BC8014aA93cbf1A5Bce005a485b5C2C4a) | 0x18BBF96BC8014aA93cbf1A5Bce005a485b5C2C4a | WETH Unwrapper |
363-
364-
### zkSync Era Testnet
365-
366-
> Domain ID: 2053862260
367-
368-
> Chain ID: 280
369-
370-
| Core Contract | Address |
371-
| ----------------------------------------------------------------------------------------------- | ------------------------------------------ |
372-
| [Connext](https://goerli.explorer.zksync.io/address/0xB0694fEcEdd88e5590A563aDb5f194d2dE30F0b6) | 0xB0694fEcEdd88e5590A563aDb5f194d2dE30F0b6 |
373-
374-
| Asset Contract | Address | Flavor |
375-
| -------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------- |
376-
| [TEST](https://goerli.explorer.zksync.io/address/0x7C1412e456ad60B8ee458c4eb3A9852C3e389353) | 0x7C1412e456ad60B8ee458c4eb3A9852C3e389353 | Local/Adopted |
377-
378-
| Peripheral Contract | Address | Description |
379-
| ------------------- | ------- | ----------- |
380-
| Unwrapper | TBD | TBD |
381-
382-
### Linea Testnet
383-
384-
> Domain ID: 1668247156
385-
386-
> Chain ID: 59140
387-
388-
| Core Contract | Address |
389-
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
390-
| [Connext](https://explorer.goerli.zkevm.consensys.net/address/0xfdb6B853C1945Dbffe78A3091BeBB9A928234fA3) | 0xfdb6B853C1945Dbffe78A3091BeBB9A928234fA3 |
391-
392-
| Asset Contract | Address | Flavor |
393-
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------ | ------------- |
394-
| [TEST](https://explorer.goerli.zkevm.consensys.net/address/0xB706319D37b945727E71ae0d4353699d19112576) | 0xB706319D37b945727E71ae0d4353699d19112576 | Local/Adopted |
395-
396-
| Peripheral Contract | Address | Description |
397-
| ------------------- | ------- | ----------- |
398-
| Unwrapper | TBD | TBD |
399-
400-
### Polygon zkEVM Testnet
401-
402-
> Domain ID: 1887071092
403-
404-
> Chain ID: 1442
405-
406-
| Core Contract | Address |
407-
| --------------------------------------------------------------------------------------------------- | ------------------------------------------ |
408-
| [Connext](https://testnet-zkevm.polygonscan.com/address/0x20b4789065DE09c71848b9A4FcAABB2c10006FA2) | 0x20b4789065DE09c71848b9A4FcAABB2c10006FA2 |
409-
410-
| Asset Contract | Address | Flavor |
411-
| ------------------------------------------------------------------------------------------------ | ------------------------------------------ | ------------- |
412-
| [TEST](https://testnet-zkevm.polygonscan.com/address/0x5f921E4DE609472632CEFc72a3846eCcfbed4ed8) | 0x5f921E4DE609472632CEFc72a3846eCcfbed4ed8 | Local/Adopted |
413-
414-
| Peripheral Contract | Address | Description |
415-
| ------------------- | ------- | ----------- |
416-
| Unwrapper | TBD | TBD |
417-
418279
## User Interfaces
419280

420281
### Bridge UI

resources/subgraphs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ This subgraph is can be used to query Connext bridge transactions, transactions
1818

1919
## Testnet Subgraphs
2020

21-
| Chain | Subgraph |
22-
| --------------- | -------------------------------------------------------------------------------------------------- |
23-
| Goerli | [v0-Goerli](https://thegraph.com/hosted-service/subgraph/connext/nxtp-amarok-runtime-v0-goerli) |
24-
| Optimism-Goerli | [v0-Opt-Goerli](https://thegraph.com/hosted-service/subgraph/connext/amarok-runtime-v0-opt-goerli) |
25-
| Mumbai | [v0-Mumbai](https://thegraph.com/hosted-service/subgraph/connext/nxtp-amarok-runtime-v0-mumbai) |
21+
| Chain | Subgraph |
22+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23+
| Sepolia | [v0-Sepolia](https://api.thegraph.com/subgraphs/name/connext/runtime-v1-sepolia/graphql?query=%23%0A%23+Welcome+to+The+GraphiQL%0A%23%0A%23+The+GraphiQL+is+an+in-browser+tool+for+writing,+validating,+and%0A%23+testing+GraphQL+queries.%0A%23%0A%23+Type+queries+into+this+side+of+the+screen,+and+you+will+see+intelligent%0A%23+typeaheads+aware+of+the+current+GraphQL+type+schema+and+live+syntax+and%0A%23+validation+errors+highlighted+within+the+text.%0A%23%0A%23+GraphQL+queries+typically+start+with+a+%22%7B%22+character.+Lines+that+start%0A%23+with+a+%23+are+ignored.%0A%23%0A%23+An+example+GraphQL+query+might+look+like:%0A%23%0A%23+++++%7B%0A%23+++++++field\(arg:+%22value%22\)+%7B%0A%23+++++++++subField%0A%23+++++++%7D%0A%23+++++%7D%0A%23%0A%23+Keyboard+shortcuts:%0A%23%0A%23++Prettify+Query:++Shift-Ctrl-P+\(or+press+the+prettify+button+above\)%0A%23%0A%23+++++Merge+Query:++Shift-Ctrl-M+\(or+press+the+merge+button+above\)%0A%23%0A%23+++++++Run+Query:++Ctrl-Enter+\(or+press+the+play+button+above\)%0A%23%0A%23+++Auto+Complete:++Ctrl-Space+\(or+just+start+typing\)%0A%23%0A) |
24+
| Optimism-Sepolia | [v0-Op-Sepolia](https://api.studio.thegraph.com/query/60851/optimism-sepolia/version/latest) |
25+
| Arb-Sepolia | [v0-Arb-Sepolia](https://api.thegraph.com/subgraphs/name/connext/runtime-v1-arb-sepolia) |
2626

2727
## Helpful Links
2828

0 commit comments

Comments
 (0)