Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genesis airdrop import #51

Open
0xean opened this issue Feb 15, 2023 · 0 comments
Open

Genesis airdrop import #51

0xean opened this issue Feb 15, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@0xean
Copy link
Collaborator

0xean commented Feb 15, 2023

Background

See airdrop spec here.

We need to create functionality to import a JSON file that contains all of the ClaimRecords for the airdrop for the genesis state.

We also want to give all addresses that are part of the airdrop some minimal amount of arkeo (as configured) to pay for gas of their first claim. We may be able to not have any gas fees for this, but dusting these accounts should be simple enough for a fallback mechanism. This would obviously only occur for Arkeo claims (not eth based claims)

Some examples of genesis account creation functionality from osmosis -

https://github.com/osmosis-labs/osmosis/blob/v4.2.0/cmd/osmosisd/cmd/airdrop.go
https://github.com/osmosis-labs/osmosis/blob/v4.2.0/cmd/osmosisd/cmd/genaccounts.go

AC

  1. A sample JSON object of ClaimRecords can be imported on genesis
  2. Basic test to validate the correct import has occurred, native arkeo accounts have dust amounts for gas, and that claim records exist for Arkeo and Eth.
@0xean 0xean changed the title Create functionality to init airdrop accounts with dust amount of gas Genesis airdrop import Feb 24, 2023
@0xean 0xean added the help wanted Extra attention is needed label Feb 24, 2023
@0xean 0xean moved this to Todo in Arkeo Launch Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant