# Alylayer Nitrogen 测试网

By [鞭炮0xfirework](https://paragraph.com/@0xfirework) · 2024-01-14

---

Alylayer Nitrogen测试网

Nitrogen (Orbit Celestia) Testnet

一、领取测试币
=======

1.打开官网，添加网络

[https://rollup-info.altlayer.io/public/nitrogen](https://rollup-info.altlayer.io/public/nitrogen)

2.领水（建议使用跨链方案）

打开领水网站

[https://www.l2faucet.com/](https://www.l2faucet.com/)

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

**（这一步我无法正常领取，后文介绍：\[可选\] 测试网模式跨测试币）**

![](https://storage.googleapis.com/papyrus_images/bd86f133ce6baf9624a9c8a75f2bd0a72053253edc539a47b7dbad4828574674.png)

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

1.使用Arbitrum 桥，打开设置

[https://bridge.arbitrum.io/?l2ChainId=421614](https://bridge.arbitrum.io/?l2ChainId=421614)

![](https://storage.googleapis.com/papyrus_images/625268faaa8ff27dedccb2b1e3bf4620354ecb58d90931edf4e55ed7998c4abf.png)

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 测试网模式，粘贴代码，添加链

![](https://storage.googleapis.com/papyrus_images/0bcce49f35cca1d1b6f3029270bbd67016d7d676b0f41e71d4882aab110c7555.png)

代码来自官方文档：

[https://docs.altlayer.io/altlayer-documentation/external-integrations/nitrogen-orbit-celestia-testnet](https://docs.altlayer.io/altlayer-documentation/external-integrations/nitrogen-orbit-celestia-testnet)

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

![](https://storage.googleapis.com/papyrus_images/42a8971f1eff01dbc091a220341c6d0be6146870fa7aa47b7942909fa994c38c.png)

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

![](https://storage.googleapis.com/papyrus_images/c6a32b08f0ee4d1d26ff90aab6c9e70ef3bbe465465cd44a5415b970ff506b90.png)

如需领水，使用水龙头：

[https://www.sepoliafaucet.io/](https://www.sepoliafaucet.io/)

[https://sepoliafaucet.com/](https://sepoliafaucet.com/)

二、部署合约
======

1.使用网站

[https://thirdweb.com/dashboard/contracts/deploy](https://thirdweb.com/dashboard/contracts/deploy)

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

[https://thirdweb.com/thirdweb.eth/TokenERC20](https://thirdweb.com/thirdweb.eth/TokenERC20)

![](https://storage.googleapis.com/papyrus_images/3dda8455956cdc91c90487104f1b2be343790d09f427a90b8a00994719ba7205.png)

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

![](https://storage.googleapis.com/papyrus_images/ce969f5fee311f39f8f88142543df1a5a1c6c0d35e73a4ca6a64fc6da0357326.png)

3.添加自定义网络

![](https://storage.googleapis.com/papyrus_images/bc9948dda45c57b0f08fa1f35c4530af781165d6a96a9fce0ee44d94b77ec8e7.png)

添加网络信息

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

![](https://storage.googleapis.com/papyrus_images/3defe2714af3de35a02e004ea9dd146b07101f784ffa519ab894d1e240781326.png)

4.部署合约

![](https://storage.googleapis.com/papyrus_images/f6a578782a756a4c625f7bf881a22aaec43bb8ead282884915849b77b70f5fe5.png)

背景
==

Altlayer 融资7.2M

官方参考文档

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

---

*Originally published on [鞭炮0xfirework](https://paragraph.com/@0xfirework/alylayer-nitrogen)*
