# Analog Airdrop Guide 🪂

By [MyLord](https://paragraph.com/@mylord) · 2024-06-28

---

Grab Analog Incentivized Odyssey NFT

[https://www.intract.io/quest/667405d2e1972009849c96dc](https://www.intract.io/quest/667405d2e1972009849c96dc)

Complete Galxe task too, if you haven't

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

Add Network Shibuya

[https://shibuya.blockscout.com/](https://shibuya.blockscout.com/)

Faucet

[https://portal.astar.network/shibuya-testnet/assets](https://portal.astar.network/shibuya-testnet/assets)

Deploy Contract

[https://remix.ethereum.org/](https://remix.ethereum.org/)

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;

// example gw

0x7702eD777B5d6259483baAD0FE8b9083eF937E2A

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);

}

}

Verify Your Contract

[https://shibuya.blockscout.com/contract-verification](https://shibuya.blockscout.com/contract-verification)

Deploy Contract

[https://remix.ethereum.org/](https://remix.ethereum.org/)

Download Files

[https://drive.google.com/drive/folders/13BqpfDpGwvZh6IBB\_2WwJRicOOZK5G9J?usp=sharing](https://drive.google.com/drive/folders/13BqpfDpGwvZh6IBB_2WwJRicOOZK5G9J?usp=sharing)

\-> You can complete these tasks daily to collect points

---

*Originally published on [MyLord](https://paragraph.com/@mylord/analog-airdrop-guide)*
