# （纯零撸)去中心化第0层跨链通讯基础设施Analog空投教程

By [hzkj99airdrop](https://paragraph.com/@hzkj99airdrop) · 2024-05-10

---

关于Analog：

Analog 是一个完全去中心化的第 0 层平台，用于通过时间证明共识机制传达经过验证的事件数据。该平台的核心是 tesseracts 和时间节点，它们可以从主权链私下获取和确认事件数据，允许不同的生态系统使用相同的语言。 Analog旨在引入无需信任的全链互操作性，允许开发人员通过通用协议和API轻松构建他们的应用程序。 Analog 还推出了一种新颖、超快的 PoT 协议，该协议在时间链上创建可验证的事件数据，允许 DApp 开发人员构建下一代基于事件的应用程序。

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

关于融资：

项目获得多次融资，之前获得2次未公开的种子轮融资，最近以1.2亿美元估值，获得1600万美元公开融资

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

关于空投：

明确完成公开测试网，可以获得对应空投

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

**教程（撸猫安全第一，请自行评估风险）：**

1 完成官方银河任务

[

Analog's Incentivized Testnet by Analog | Galxe Quest
-----------------------------------------------------

Join Analog's Incentivized Testnet on Galxe. Earn loyalty points by contributing to Analog and enhance your web3 presence and reputation.

https://app.galxe.com

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

](https://app.galxe.com/quest/analog/GCv1ztzSdd)

获得11点积分，后边有用处

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

2安装并创建subwallet插件钱包

[

SubWallet - Polkadot Wallet - Chrome Web Store
----------------------------------------------

Comprehensive Web3 wallet solution for Polkadot, Substrate & Ethereum ecosystems

https://chromewebstore.google.com

![](https://storage.googleapis.com/papyrus_images/46407e0dedddef00a986ba12ad3567d10ffd6336b076e5e4fe7a41903fe49111.jpg)

](https://chromewebstore.google.com/detail/subwallet-polkadot-wallet/onhogfjeacnfoofkfgppdlbmlmnplgbn)

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

3 前往官网

[https://testnet.analog.one/#/?signup&referral=Z2GOM9](https://testnet.analog.one/#/?signup&referral=Z2GOM9)

按照要求注册账号，最好使用谷歌邮箱，或者使用谷歌账号直接登录

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

4 进入官网首页，点击quests，选择社区任务，链接刚才完成银河任务那个地址，获取11个pt

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

5 选择开发者任务，分别链接subwallet钱包，并进入watch任务链接钱包获得积分

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

6 在watch页面

[https://watch.testnet.analog.one/](https://watch.testnet.analog.one/)

链接sub钱包后，获取analog测试网地址

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

7 前往官方dc频道

[

Join the Analog (Official) Discord Server!
------------------------------------------

The Liquidity Hub for Autonomous Chains, powered by our L0 Timechain. | 305682 members

https://discord.com

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

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

，在faucet频道使用!faucet+空格+地址的格式领取测试水

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

8 在watch任务页面，点击自己头像，选择deposit

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

9 输入数量，建议不低于0.3，点击deposit

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

10 创建 API 密钥：页面下滑，选择api keys，点击创建新的api key

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

11 输入名称，确认创建，成功后点击next

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

12 列出智能合约：前往eth浏览器

[

Token Tracker | Etherscan
-------------------------

The list of ERC-20 Tokens and their Prices, Market Capitalizations and the Number of Holders in the Ethereum Blockchain on Etherscan.

https://etherscan.io

![](https://storage.googleapis.com/papyrus_images/82d93476e6f9207e942c25a9ad8051d60710d240d085e1a43b88fdb07626df33.jpg)

](https://etherscan.io/token)

选择一个token的合约地址进行复制（以bnb的合约为例，如果你有某个token的合约，此步骤可省略）

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

13 返回刚才自己创建的api页面，点击Smart Contract

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

14 将合约地址粘贴（如果提示合约地址已存在，就在eth浏览器找一个没用过的合约地址），选择eth链，其他随意填写，然后点击add functions

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

15 随便选择一些参数，然后list，出现恭喜字样即为成功，该奖励每天一次

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

16 提交观看比赛的视图：找到自己创建的智能合约并点击

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

17 点击create view

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

18 选择几个参数，点击test query

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

19 直至出现成功字样（报错的话就换自己选择的参数，直至成功），然后点击deploy view

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

20 输入名称，标签以及说明，然后点击next

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

21 选择Chain Analytics，并勾选，点击complete

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

22 生成和部署视图：找到自己刚才创建的视图，点击进入

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

23 点击add funds

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

24 存入最少金额0.001，继续add funds即可

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

25 赞助独特观点：点击Library，随便选择一个点击进入

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

26 点击add funds，存入最少金额0.001，继续add funds即可

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

27 提交反馈的表格，内容随意发挥

[https://testnet.analog.one/#/quests](https://testnet.analog.one/#/quests)

28 返回官网开发者任务选项，刷新即可看到完成的任务

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

29 这后边2个需要2个账号相互配合赞助以及查看，比较麻烦，暂时放弃

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

30 在 Sepolia 和 Shibuya Testnet 上使用模拟 GMP 接口构建和部署智能合约任务：前往remix合约部署平台

，在contract目录下，右键新建一个.sol文件，名字随意

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

31 将官方给的以下接口代码（部分参考 @4mo4ever 大佬）

    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.0;
    interface IGmpReceiver {
        /**
         * @dev Handles the receipt of a single GMP message.
         * The contract must verify the msg.sender, it must be the Gateway Contract address.
         *
         * @param id The EIP-712 hash of the message payload, used as GMP unique identifier
         * @param network The chain_id of the source chain that send the message
         * @param source The pubkey/address which sent the GMP message
         * @param payload The message payload with no specified format
         * @return 32-byte result, which will be stored together with the GMP message
         */
        function onGmpReceived(bytes32 id, uint128 network, bytes32 source, bytes calldata payload)
            external
            payable
            returns (bytes32);
    }
    
    contract Counter is IGmpReceiver {
        // sepolia 0xB5D83c2436Ad54046d57Cd48c00D619D702F3814
        // shibuya 0xF871c929bE8Cd8382148C69053cE5ED1a9593EA7
        address private immutable _gateway;
        uint256 public number;
    
        constructor(address gateway) {
            _gateway = gateway;
        }
    
        function onGmpReceived(bytes32, uint128, bytes32, bytes calldata) external payable override returns (bytes32) {
            require(msg.sender == _gateway, "unauthorized");
            number++;
            return bytes32(number);
        }
    }
    

粘贴到自己编译器中，注意第2步的版本，然后点击compile

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

32 点击deploy，选择自己用的钱包进行链接，核对自己的地址并确保里面有一定的sepolia eth作为gas使用，将合约地址0xB5D83c2436Ad54046d57Cd48c00D619D702F3814粘贴到deploy后边的框内，点击deploy钱包确认，等待完成后生成一个合约地址，并复制

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

33 前往blockscout区块浏览器

[

Sepolia blockchain explorer - View Sepolia 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 Sepolia Explorer network.

https://eth-sepolia.blockscout.com

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

](https://eth-sepolia.blockscout.com/)

选择确认合约，右上角链接钱包

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

34 如图将自己部署的合约进行确认

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

35 返回任务页，把合约粘贴后直接claim即可

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

36 使用GMP合约网关发送消息：

[https://sepolia.etherscan.io/address/0xB5D83c2436Ad54046d57Cd48c00D619D702F3814#writeContract](https://sepolia.etherscan.io/address/0xB5D83c2436Ad54046d57Cd48c00D619D702F3814#writeContract)

点击contract-write，链接web3钱包，选择submitMessage

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

37 如图填写信息，然后点击write-view your transaction

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

38 复制自己的hash值

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

39 粘贴hash值，点击claim领取，以上就是gmp的任务

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

40 返回任务首页，选择社区任务，目前能完成的只有参加观看投票，后边的任务要看自己部署的view是否被系统推荐，所以运气成分较重，直接放弃，重点讲投票

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

41 选择watch game，然后点击start voting，随意选择一个项目投票

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

以上就是全部教程，整个过程比较复杂，需要一定的耐心，同时好几个开发者任务为每天活跃可得奖励，需要持续活跃。

**教程不易，感谢打赏。**

**交流反馈请加（只做零撸）：**

[

DAODAO社
-------

过气撸毛选手，佛系瞎撸，无本金，不fomo。

https://t.me

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

](https://t.me/hzkj99airdrop)

**免责声明：以上所有的分享都不构成投资建议，所有空投项目不确定是否能获得回报，请根据自己情况酌情参与。**

---

*Originally published on [hzkj99airdrop](https://paragraph.com/@hzkj99airdrop/0-analog)*
