├── LICENSE ├── README.md └── index.html /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Cory 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ETH Dust Collector 2 | 3 | A simple web page to drain an Ethereum account 4 | 5 | This dapp allows users to send their entire ETH balance from one account to another account without leftover "dust". 6 | 7 |  8 | 9 | ## Usage 10 | 11 | 1. Connect to the dapp using a web3 provider such as MetaMask. 12 | 2. Enter the receiving address and the amount of ETH to send. 13 | 3. Press the "Send" button to initiate the transaction. 14 | 15 | ## Note 16 | 17 | You must have a sufficient balance in your account to pay for the transaction's gas fees. 18 | 19 | Always a good practice to double check the address you are sending the funds to before making a transaction. 20 | 21 | Users are responsible for any fees incurred by the Ethereum network. 22 | 23 | ## Development 24 | 25 | This dapp is built using JavaScript and the Ethers.js library for interacting with the Ethereum blockchain. 26 | 27 | It is designed as a single-file application. The `index.html` file contains all of the HTML, CSS, and JavaScript code. 28 | 29 | ## Licensing 30 | 31 | This project is licensed under the MIT License. 32 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |