{"id":23251326,"url":"https://github.com/davidatwhiletrue/cep18distribution","last_synced_at":"2025-07-20T02:36:11.126Z","repository":{"id":268292950,"uuid":"903714444","full_name":"davidatwhiletrue/cep18distribution","owner":"davidatwhiletrue","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-15T20:14:53.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T08:19:54.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidatwhiletrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-15T11:23:29.000Z","updated_at":"2024-12-15T20:14:57.000Z","dependencies_parsed_at":"2024-12-15T21:22:47.771Z","dependency_job_id":"c52249bf-449e-4492-a192-dc1c5ae20f90","html_url":"https://github.com/davidatwhiletrue/cep18distribution","commit_stats":null,"previous_names":["davidatwhiletrue/cep18distribution"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidatwhiletrue%2Fcep18distribution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidatwhiletrue%2Fcep18distribution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidatwhiletrue%2Fcep18distribution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidatwhiletrue%2Fcep18distribution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidatwhiletrue","download_url":"https://codeload.github.com/davidatwhiletrue/cep18distribution/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423510,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T09:17:53.115Z","updated_at":"2025-04-06T02:17:52.558Z","avatar_url":"https://github.com/davidatwhiletrue.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Program to distribute CEP-18 tokens\n\n## Setup\n\nYou need .NET 8 SDK to run the program.\nIf it's not installed in your system, follow the instructions from [here](https://dotnet.microsoft.com/en-us/download/dotnet/8.0).\n\nAccess to the program path and restore nuget packages:\n\n```bash\ncd AIDistribution\ndotnet restore\n```\n##\n\nCreate a `.env` file with following values:\n\n```\nNODE_ADDRESS=http://127.0.0.1:7777/rpc\nCHAIN_NAME=casper\nCONTRACT_HASH=36322350b8d859c3529e81a0e6a8a87819a37f118e776658308de40ef0a8ffa4\nPAYMENT_FEE=500000000\nUSER_1=/path/to/secret_key.pem \n```\n\n## Prepare the input file\n\nThe input file must be a CSV with ';' as column delimiter.\nFirst column is the account hash of the recipient. Second column is the amount of tokens to send (with all decimals).\n\n## Run the distribution token program\n\nRun the program to start sending the transfers to the configured Casper node:\n\n```\ndotnet run --project ./input.csv ./output.csv\n```\n\nThe program will go through the input file and will create an output file with deploy hash for each transfer sent.\n\nWhen the program terminates sending the transfers, it starts a process to check if \nthe transfers have been completed successfully. Pay attention to the console output \nto check for any errors that may appear.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidatwhiletrue%2Fcep18distribution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidatwhiletrue%2Fcep18distribution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidatwhiletrue%2Fcep18distribution/lists"}