{"id":21254462,"url":"https://github.com/sahilaujla/eth-and-erc20-scripts","last_synced_at":"2025-10-23T22:55:26.009Z","repository":{"id":49793536,"uuid":"518102016","full_name":"SahilAujla/eth-and-erc20-scripts","owner":"SahilAujla","description":"Scripts for sending ERC20 tokens programatically, sending ETH programatically, sending max ETH, calculating gasFee and gasLimit before sending the transaction. Can be used to make bots.","archived":false,"fork":false,"pushed_at":"2022-10-06T23:50:03.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T06:18:12.708Z","etag":null,"topics":["bot","erc20","eth","gasfee"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/SahilAujla.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}},"created_at":"2022-07-26T14:46:48.000Z","updated_at":"2025-01-13T23:43:08.000Z","dependencies_parsed_at":"2023-01-19T14:35:23.420Z","dependency_job_id":null,"html_url":"https://github.com/SahilAujla/eth-and-erc20-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SahilAujla/eth-and-erc20-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahilAujla%2Feth-and-erc20-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahilAujla%2Feth-and-erc20-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahilAujla%2Feth-and-erc20-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahilAujla%2Feth-and-erc20-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SahilAujla","download_url":"https://codeload.github.com/SahilAujla/eth-and-erc20-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahilAujla%2Feth-and-erc20-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280706800,"owners_count":26376971,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","erc20","eth","gasfee"],"created_at":"2024-11-21T03:56:20.539Z","updated_at":"2025-10-23T22:55:25.967Z","avatar_url":"https://github.com/SahilAujla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETH \u0026 ERC20 scripts\n\n`sendERC20.js` - script for ERC20 token transfers using ethers.js and estimating `gasLimit` ahead of time.\n\n`sendMaxETH.js` - script for sending the maximum ETH that the user has in the account, it calculates the gasFees ahead of time and subtracts that from the total balance to get the max transferrable ETH value and transfers it to another account. \n\nIt shows how to calculate `gasFee` for a transaction before executing the transaction and how to programatically send ETH using ethers.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahilaujla%2Feth-and-erc20-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahilaujla%2Feth-and-erc20-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahilaujla%2Feth-and-erc20-scripts/lists"}