# Swan Chain测试网/节点激励教程（更新银河任务和原子加速器竞赛）

By [0xRick](https://paragraph.com/@0xb95) · 2024-02-24

---

简介
--

@swan\_chain 是一个 Layer2 云计算网络，致力于将数据、计算、带宽和支付集成到一个套件，为Web3项目提供全面的解决方案。

Twitter
-------

Discord
-------

[

Join the Swan Chain Discord Server!
-----------------------------------

Check out the Swan Chain community on Discord - hang out with 11365 other members and enjoy free voice and text chat.

https://discord.com

![](https://storage.googleapis.com/papyrus_images/484782c2eb12c9e2e0748f62125e689a8993657405fec8f0edafd4ec12c2dd52.jpg)

](https://discord.gg/swanchain)

融资情况
----

Swan Chain完成了由Binance Labs、SNZ Holding、Waterdrip Capital、Protocol Labs和LD Capital等机构投资的300万美元。

空投情况
----

Swan Chain的明牌空投分为多种情况给予，我将在以下各种类型交互或合作申请中说明。

Galxe银河空投（2024.3.22结束，350000 $SWAN通过公平均分和抽奖形式分发）
------------------------------------------------

**Swan Chain Celebration | Saturn Testnet Welcome**

[

Swan Chain Celebration | Saturn Testnet Welcome by Swan Chain | Galxe Quest
---------------------------------------------------------------------------

Join Swan Chain Celebration | Saturn Testnet Welcome on Galxe. Earn loyalty points by contributing to Swan Chain and enhance your web3 presence and reputation.

https://app.galxe.com

![](https://storage.googleapis.com/papyrus_images/a1b92165b2496743cbf0e12ac20c346c81f0272da02a77feb42c4e09aa569cc1.webp)

](https://galxe.com/filswan/campaign/GC3wptwc4w)

简单的社交任务

**SWAN x SAO Network Partners**

[

SWAN x SAO Network Partners by Swan Chain | Galxe Quest
-------------------------------------------------------

Join SWAN x SAO Network Partners by Swan Chain on Galxe. Collect NFT and OAT badges to enhance your web3 presence and reputation.

https://app.galxe.com

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

](https://galxe.com/filswan/campaign/GCSxZtwMpZ)

同样的社交任务，如果没有电报，不用做电报任务，一样有积分和OAT领取

**新的银河任务（需要银河KYC和电报，6月29日结束，空投数量为**90万，包含前期已结束银河任务\*\*）\*\*
-----------------------------------------------------------

[

Atom Accelerator Race | Round 1 by Swan Chain | Galxe Quest
-----------------------------------------------------------

Join Atom Accelerator Race | Round 1 by Swan Chain on Galxe. Collect NFT and OAT badges to enhance your web3 presence and reputation.

https://app.galxe.com

![](https://storage.googleapis.com/papyrus_images/3759a38e8d6d2d90708a8c88508ee95903de67a0080456420d1462283b240f92.webp)

](https://app.galxe.com/quest/filswan/GCDvGth1uD)

Zealy（2024.3.22结束，100000 $SWAN分发给排行前100名，前 1-30 名：获得 OG 精英-1,000 $SWAN/个；前 31-100 名：获得 OG 白金-500 $SWAN/个）
---------------------------------------------------------------------------------------------------------

[

Join Swan Saturn Mission
------------------------

The Saturn Testnet mission is to rigorously test and showcase what Swan Chain can do. We aim to engage you - the brilliant minds of the developer community - to push the boundaries of our platform. Don't miss out!

https://zealy.io

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

](https://zealy.io/c/swan/invite/kW2me9nCFFaP1dsi7Ctr7)

大部分是社交任务，前100名超过3330XP即可

交易交互空投（2024.3.22结束，900000 $SWAN）
--------------------------------

具体空投数额是根据排名计算，在结束后将分发对应NFT。NFT可在TGE之后领取 $SWAN 代币。

计算公式

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

和合约交互得越多，获得的奖励就越多，计算方式如下：

奖池从100000个 $SWAN 代币开始，每完成200000笔交易，就会获得50000个代币。

**Swan Chain的区块链浏览器**

[

Swan Saturn blockchain explorer - View Swan Saturn stats | Blockscout
---------------------------------------------------------------------

Open-source block explorer by Blockscout. Search transactions, verify smart contracts, analyze addresses, and track network activity. Complete blockchain data and APIs for the Swan Saturn (Swan Saturn) Explorer network.

https://saturn-explorer.swanchain.io

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

](https://saturn-explorer.swanchain.io/)

**1.将Sepolia ETH跨链至Swan Saturn Chain**

1️⃣向合约地址：0x1B240FA1e884Cb5e09A7a22edf2563f371c5f882 发送0.15-0.3随机数额的ETH即可

2️⃣或前往

[

SwanETH Bridge
--------------

Welcome to the Swan Bridge. We will NEVER ask for your private keys or seed phrase.

https://bridge.swanchain.io



](https://bridge.swanchain.io/)

连接钱包后跨链（存入ETH）

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

3️⃣完成跨链存入之后，前往

[

ChainList
---------

ChainList is a list of RPCs for EVM(Ethereum Virtual Machine) networks. Use the information to connect your wallets and Web3 middleware providers to the appropriate Chain ID and Network ID. Find the best RPC for both Mainnet and Testnet to connect to the correct chain

https://chainlist.org



](https://chainlist.org/?search=Swan+Saturn&testnets=true)

添加Swan Saturn Testnet测试网

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

**2.部署合约并交互**

[

Deploying Your First Smart Contract with Remix | Swan Chain
-----------------------------------------------------------

Smart Contracts are written in Solidity, a statically-typed programming language designed for Ethereum and other EVM-compatible chains. This tutorial uses Remix, a browser-based IDE that requires minimal setup. 1.Open Remix IDE: Navigate to Remix. 2.Create a New Contract: In the workspace, create a new file with the ".sol" extension, e.g., "MyFirstContract.sol".

https://docs.swanchain.io

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

](https://docs.swanchain.io/development-resource/quickstarts/deploying-your-first-smart-contract-with-remix)

**3.创建dApp交互**

[

Space | Lagrange Dao
--------------------

This page is providing a way create a space for your code.

https://docs.lagrangedao.org

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

](https://docs.lagrangedao.org/spaces)

因为涉及到合约交互，没写得太细，主要以官方文档为准。

如果觉得做起来太麻烦，那就多做几次存取跨链。

**2024.5.7** **Atom Accelerator Race 原子加速器竞赛**

该活动为期两个月，从4月29日00：00（EST）到2024年6月29日23：59（EST）

总空投15,000,000代币

**准备工作**

领水：

发送Sepolia测试网的ETH到合约地址：0x1B240FA1e884Cb5e09A7a22edf2563f371c5f882

或者在此使用前端跨链：

[

SwanETH Bridge
--------------

Welcome to the Swan Bridge. We will NEVER ask for your private keys or seed phrase.

https://bridge.swanchain.io



](https://bridge.swanchain.io/deposit)

如果之前的**Swan**测试网链不可用，可以使用取出添加新网络

然后在DC的swan-faucet频道使用命令：$swan\_faucet+钱包地址 领水

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

**1.节点部署**

详情可看官方文档，硬件要求较高（8核+32G+50G）：

[

FCP Setup | Swan Chain
----------------------

Before you install the Computing Provider, you need to know there are some resources required: The Kubernetes version should be v1.24.0+ If you plan to run a Kubernetes cluster, you need to install a container runtime into each node in the cluster so that Pods can run there, refer to here.

https://docs.swanchain.io

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

](https://docs.swanchain.io/orchestrator/as-a-computing-provider/fcp-fog-computing-provider/computing-provider-setup)

**2.使用Remix部署合约**

前往：

[https://remix.ethereum.org/#lang=zh&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.25+commit.b61c2a91.js](https://remix.ethereum.org/#lang=zh&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.25+commit.b61c2a91.js)

新建一个.sol文件，名称随意，然后填入一下代码：

    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.0;
    
    contract MessageContract {
        string private message;
    
        function writeMessage(string calldata newMessage) public {
            message = newMessage;
        }
    
        function readMessage() public view returns (string memory) {
            return message;
        }
    }
    

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

然后编译

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

编译没问题之后部署

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

完成部署后，点开string newMessage旁的下拉

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

然后填入发送的文字，钱包交互即可

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

**3.Deploy Lagrange Spaces 拉格朗日空间**

创建空间

前往

[

Lagrange
--------

Lagrange is an all-in-one decentralized computing platform to store and deploy code securely, empowering developers to build web3 apps through a full suite of Web3 tooling.

https://lagrange.computer

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

](https://lagrangedao.org/main)

右上角登录钱包之后选择Create new Space创建空间

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

输入任意名称和选择类型创建空间

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

接下来涉及到的代码编译、上传以我的能力无法部署，具体可查看官方文档：

[

Build Space | Lagrange Dao
--------------------------

After creating a Space, you'll have an empty repository to develop your code. A dockerfile or deploy.yaml is required. A dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. You can create/upload each file through the Web UI or viaLagrange-cli .

https://docs.lagrangedao.org

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

](https://docs.lagrangedao.org/spaces/build-space)

大部分人测试网交互还是做一做跨链、发送SWAN代币即可，多做几次。

我是Rick，没有闲聊，没有广告，只是埋头苦干的黑奴，各位可以订阅关注更新，也可以关注我Twitter，每次任务更新后也会发帖：

---

*Originally published on [0xRick](https://paragraph.com/@0xb95/swan-chain)*
