Skip to content

Example for AxiomV2 Autonomous Airdrop that utilizes AxiomREPL for generating a compute query.

Notifications You must be signed in to change notification settings

cc03668/autonomous-airdrop-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Airdrop (using AxiomREPL)

Test

This example allows users to autonomously claim an airdrop of an example ERC20 token. Users utilize a data-fetching layer on top of Axiom to autonomously prove that their account matches some parameters before submitting a Query. In this case, it is the user has used Uniswap (swapping a token for a token that is not ETH) on Goerli testnet after block 9000000.

This example was created by generating a compute proof with AxiomREPL.

Contracts

/contracts contains all of the Solidity contract code.

Webapp

/webapp is a full Next.js 13 (app router) implementation of an Autonomous Airdrop dApp.

The AxiomREPL code to generate this Compute Query is located at /webapp/src/lib/circuit/index.ts.

About

Example for AxiomV2 Autonomous Airdrop that utilizes AxiomREPL for generating a compute query.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 63.9%
  • JavaScript 28.4%
  • Ruby 6.4%
  • TypeScript 1.0%
  • Shell 0.2%
  • Makefile 0.1%