Analog is a decentralized layer 0 platform designed to verify and communicate event data across various blockchain ecosystems

  • Invested: $16,000,000

  • Investors: Tribe Capital, Balaji Srinivasan, Wintermute and others

What to do?

  • Follow the link and create an account

  • Next, we go to Galxe and complete all the tasks

  • Let’s move on to voting

  • You need to vote for any validator using the Vote button

Copy the address as in the screenshot

  • Head over to Discord and go to the !faucet thread

*

  • In the Quest section we can see the total number of our APTs and the number of completed tasks; additional APT points will be given if the project for which you voted wins

  • Next, go here and click on Developer on the right

  • We link Talisman , from which we received test tokens from the faucet

  • Let’s go to Remix

  • Click on the folders on the left — create a folder and call it Analog

  • Now create a file and call it Counter.sol — press Enter

  • Copy this code

https://miro.medium.com/v2/resize:fit:640/format:webp/0*MH5ykD3tDEuy1fHZ.png

https://miro.medium.com/v2/resize:fit:640/format:webp/0*QOQTi7Art1Irvcct.png

https://miro.medium.com/v2/resize:fit:640/format:webp/0*jF0YDTFJTnKD78bE.png

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IGmpReceiver {
    function onGmpReceived(
        bytes32 id,
        uint128 network,
        bytes32 source,
        bytes calldata payload
    ) external payable returns (bytes32);
}

contract Counter is IGmpReceiver {
    address private immutable _gateway;
    uint256 public number;

    constructor(address gateway) {
        _gateway = gateway;
    }

    function onGmpReceived(
        bytes32,
        uint128,
        bytes32,
        bytes calldata
    ) external payable returns (bytes32) {
        require(msg.sender == _gateway, "unauthorized");
        number++;
        return bytes32(number);
    }
}
  • Paste it into the terminal and press OK

  • On the left we click on the icon and Compile Counter.sol

  • Select Metamask

  • Next, copy Gateway Address 0xB5D83c2436Ad54046d57Cd48c00D619D702F3814

  • Gateway Address from the official documentation

  • Paste this address into the empty field and click Deploy (don’t forget to put the Sepolia network)

  • Gas will be needed in the Sepolia network — tap

  • Click on the arrow below and copy the contract address

  • Next we go here

  • Paste the copied contract address into the first field

  • We repeat the remaining points following the screenshot

  • Copy this code

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IGmpReceiver {
    function onGmpReceived(
        bytes32 id,
        uint128 network,
        bytes32 source,
        bytes calldata payload
    ) external payable returns (bytes32);
}

contract Counter is IGmpReceiver {
    address private immutable _gateway;
    uint256 public number;

    constructor(address gateway) {
        _gateway = gateway;
    }

    function onGmpReceived(
        bytes32,
        uint128,
        bytes32,
        bytes calldata
    ) external payable returns (bytes32) {
        require(msg.sender == _gateway, "unauthorized");
        number++;
        return bytes32(number);
    }
}
  • We insert it and put the latest version on top as in the screenshot

  • Click on Verify & publish

  • Copy the contract address

  • Paste **here **and press Claim — we get 15 points

  • Next, go here and connect the wallet

  • Click 3. submitMessage

  • And enter these data one by one

— submitMessage: 0— recipient: enter any EVM address here— network: 7— gasLimit: 100000— data: enter any EVM address here

  • Click on Write and confirm the transaction

  • Click on View your Transaction — Copy Hash transaction

  • Paste it into an empty field — Click on Claim + 20 points

  • Go here and link your Talisman account in the upper right corner

  • It will be necessary to pierce different options

  • In your profile, click on API Keys

  • Create New API Key

  • We enter a nickname and click on Generate API Key — we approve the transaction

  • Great, now let’s move here

  • And send it to **Dextools **— go down and click on Custom filtres

  • We put it as on the screen ( Ethereum network )

  • We need to copy a token contract that has not yet been added to the Analog system , select any from the list until the one you need is found

  • Once you find the one you need, copy it and paste it on the Analog website

  • Click Add Functions and go down to totalSupply()

  • Click on See Smart Contract

  • Click Create View

  • We will see a list where we will need to see our created smart contract

  • Click on it and put a tick

  • On the right in the search engine we enter the name of our coin and add totalSupply to it

  • On the right under the console click on Test Query

  • Against uint256, enter the name of your token

  • Don’t forget to put a.totalSupply at the bottom

  • It will say Success and click on Deploy Now

  • In Tags we enter tags (as in the screenshot, just replace trump with your own)

  • In the description we enter everything the same as on the screenshot

  • Next, put a checkmark ( as in the screenshot )

  • Click on Complete and Go to View Page

  • Next, click on Add Funds

  • Enter 0.0005 and click on Add Funds

  • We return to the quests and see that the task has been approved

Tasks with a smart contract will need to be done daily

Full guide : medium :

https://medium.com/@airdrop_Cryptonaito/analog-full-guide-testnet-55965f2eb874

Mirror文章信息

Mirror原文:查看原文

作者地址:0x1789a0FD618B40e9DCa42c486d4081F7c8e909F1

内容类型:application/json

应用名称:MirrorXYZ

内容摘要:VQyoiYmHRqcL0E4Rhg6LkzQs048UlGLML6j1BiODGRc

原始内容摘要:zz1s1u-SrOpmhQxHJ808SQNz_fDkP6r6q9uF2qTv5mg

区块高度:1439816

发布时间:2024-06-06 20:51:52