Skip to content
forked from rotki/data

Repo containing various data that can be pulled by the app

Notifications You must be signed in to change notification settings

zinkkrysty/rotki-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data

Repo containing various data that can be pulled by the app

Things to make sure while adding an airdrop

Airdrops

  • It's entry should be added in the airdrops/index_v1.json under the airdrops field.
  • If the token is new and is not expected to exist in the userDB and globalDB then new_asset_data should be added in the index.
  • It's CSV should be added in airdrops/ directory, with its path provided in its index entry.
    • The CSV's header should have first column as address and second column as amount.
    • The amounts should be normalised according to their decimals.
  • If the asset's icon is not present in rotki repo, it should be added in airdrops/icons directory, with its path provided in its airdrop's index entry.
  • CSV should have one line header. First column should be address, and second column should be the amount in the decimal normalised form.

POAP Airdrops

  • It's entry should be added in the airdrops/index_v1.json under the poap_airdrops field.
  • Entry should have three field in the array, first is the JSON URI having addresses and amounts, second is the URL of airdrop, and third is the name.

Note: Ensure that the index is valid using it's schema at tests/airdrop_index_v1_schema.json, by running pytest tests command.

About

Repo containing various data that can be pulled by the app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%