Skip to content

lgalende/merkle-batch-transfers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merkle Batch Transfers

This project includes smart contracts and tests for performing batch transfers of ERC20 tokens based on Merkle proofs.

Contracts

MerkleBatchTransfers.sol

The MerkleBatchTransfers.sol contract allows batch transfers of ERC20 tokens based on a Merkle proof. It provides a secure and efficient way to distribute tokens to multiple recipients in a single transaction.

MyErc20.sol

The MyErc20.sol contract is an example ERC20 token implementation for testing purposes only. It extends the ERC20 contract from the OpenZeppelin library and includes basic functionality for token transfers and approvals.

Tests

MerkleBatchTransfers.ts

The MerkleBatchTransfers.ts test file contains test cases written in TypeScript for the MerkleBatchTransfers contract.

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/lgalende/merkle-batch-transfers.git
  1. Install the dependencies:
npm install
  1. Compile the smart contracts:
npx hardhat compile
  1. Run the tests:
npx hardhat test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published