Mode Spray is a smart contract that enables efficient distribution of ETH and ERC20 tokens to multiple recipients in a single transaction. This contract is deployed on Mode Network, providing a gas-efficient solution for batch token transfers.
- Distribute ETH to multiple recipients in a single transaction
- Distribute ERC20 tokens to multiple recipients in a single transaction
- Gas-efficient batch transfers
- OpenZeppelin security features
- Mode Network SFS (Sequencer Fee Sharing) integration
- Clone the repository:
git clone https://github.com/wolfcito/mode-spray-hardhat.git
cd mode-spray-hardhat- Install dependencies:
yarn installfunction disperseEther(
address[] memory _recipients,
uint256[] memory _amounts
) external payablefunction disperseToken(
address tokenAddress,
address[] memory _recipients,
uint256[] memory _amounts
) externalyarn flattenMode: Flattens the ModeSpray contractyarn flattenBase: Flattens the BaseSpray contract
npx hardhat testModeSpray Sepolia deployed to: 0xDBA7D42BAC31Fa58A6Ab7ffE95D9FfA4bD398A0f
ModeSpray Mainnet deployed to: 0xd988097fb8612cc24eeC14542bC03424c656005f
For security concerns, please contact: wolfcito.eth+security@gmail.com
This project is licensed under the MIT License - see the LICENSE file for details.