Alylayer Nitrogen 测试网

Alylayer Nitrogen测试网

Nitrogen (Orbit Celestia) Testnet

一、领取测试币

1.打开官网,添加网络

https://rollup-info.altlayer.io/public/nitrogen

2.领水(建议使用跨链方案)

打开领水网站

https://www.l2faucet.com/

点击Select token,搜索Nitrogen,选择token,输入地址领取。

(这一步我无法正常领取,后文介绍:[可选] 测试网模式跨测试币)

post image

[可选] 测试网模式跨链测试币

1.使用Arbitrum 桥,打开设置

https://bridge.arbitrum.io/?l2ChainId=421614

post image

2.复制这段代码

{
  "chainInfo": {
    "minL2BaseFee": 100000000,
    "networkFeeReceiver": "0xa91BD12b93bCB91751d98bA70828d6F65551A05F",
    "infrastructureFeeCollector": "0xa91BD12b93bCB91751d98bA70828d6F65551A05F",
    "batchPoster": "0x62Ca281811F1f065f007e3e3842b8a7dBC8695Eb",
    "staker": "0x2e7527C10282935813699001bb4d39495894735F",
    "chainOwner": "0xa91BD12b93bCB91751d98bA70828d6F65551A05F",
    "chainName": "Nitrogen",
    "chainId": 96384675468,
    "parentChainId": 421614,
    "rpcUrl": "https://nitrogen-rpc.altlayer.io/",
    "explorerUrl": "https://nitrogen-explorer.altlayer.io/",
    "nativeToken": "0x0000000000000000000000000000000000000000"
  },
  "coreContracts": {
    "rollup": "0x0b9d65FD0CE2334D8621ED403E27f9E66824AEf6",
    "inbox": "0x5cD993b820CE09bB660B586f451bdD7683f446bc",
    "outbox": "0x2E4E309C8bE0ed4d3C7cb74a2C2E17651af43FC6",
    "adminProxy": "0xc30482d892537c18fD561286F7356381bBDF876a",
    "sequencerInbox": "0xD6e4d9D95fEC097360927e674d807a6e5e026A45",
    "bridge": "0x7Fbb91D4EC701734e22e96B95b983AF5a226ae06",
    "utils": "0xB11EB62DD2B352886A4530A9106fE427844D515f",
    "validatorWalletCreator": "0xEb9885B6c0e117D339F47585cC06a2765AaE2E0b"
  },
  "tokenBridgeContracts": {
    "l2Contracts": {
      "customGateway": "0x929d5C2795c3b7055b5cd3888e6Dbc0666ADe09F",
      "multicall": "0xF220cC6d4cECe19550F78722b298AA417BD197EC",
      "proxyAdmin": "0xB76045552b1F8fe97Fcc1BdceDd84d59A5f3Eb0B",
      "router": "0x3139a0B5746D1a28F4b14642d8a2d285cbF8B15c",
      "standardGateway": "0x929d5C2795c3b7055b5cd3888e6Dbc0666ADe09F",
      "weth": "0x3ae1de3528578c8787aD536aBaF6fda813C66f0B",
      "wethGateway": "0x6bC8F07ed3d6a4f0Ddb88Dd81a62623e815fAD8B"
    },
    "l3Contracts": {
      "customGateway": "0x8dC58C44B26283712418f3cfcE3d73ab99Ddf23D",
      "multicall": "0x95f590f1e1392e37737eD02785aC47dE93f43512",
      "proxyAdmin": "0x8f972355F41Ca3ee82fBf327B10bCaf7ba27d840",
      "router": "0x07d49Ed6d62bBDfE50607ddC278d022Ed2DFF1f8",
      "standardGateway": "0x85f0d4C6BA6DA6825e72085d940b4222D683902B",
      "weth": "0xd87d60f5565a1F213b69901C55f036B30B05C2F8",
      "wethGateway": "0x7D128f4afc76911e1C922E5Aa2803f23b6E561de"
    }
  }
}

3.打开 Testnet mode mode 测试网模式,粘贴代码,添加链

post image

代码来自官方文档:

https://docs.altlayer.io/altlayer-documentation/external-integrations/nitrogen-orbit-celestia-testnet

4.Sepolia 测试网 ETH 桥接到 Arbitrum Sepolia 测试网

post image

5.从 Arbitrum Sepolia 测试网跨到Notrigen,等待到账

post image

如需领水,使用水龙头:

https://www.sepoliafaucet.io/

https://sepoliafaucet.com/

二、部署合约

1.使用网站

https://thirdweb.com/dashboard/contracts/deploy

部署一个简单的token合约,Deploy new

https://thirdweb.com/thirdweb.eth/TokenERC20

post image

2.填写代币信息,在底部添加测试网络

post image

3.添加自定义网络

post image

添加网络信息

Nitrogen
https:删掉此处//nitrogen-rpc.altlayer.io/
96384675468
ETH
post image

4.部署合约

post image

背景

Altlayer 融资7.2M

官方参考文档

https://docs.altlayer.io/altlayer-documentation/external-integrations/nitrogen-orbit-celestia-testnet#overview