Skip to content

multitranfer contract on eth to transfer ETH or ERC-20 token

Notifications You must be signed in to change notification settings

hoekevin/Eth_Multitransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test

  1. npm install
  2. truffle test

Deploy

  1. set infura_apikey and mnemonic
  2. npm install
  3. truffle migrate --network (your network)

Use

  1. transfer some tokens to Sender contract address
  2. Set Your token address via setToken()
  3. Pass two list with address and value in distribute() like this: distribute([address1, address2, address3], ["500000000000000000", "1000000000000000000", "2000000000000000000"]) big number (token value in hex) should wrap it in double quotes

Additional

  1. Owner can get back tokens via getBackTokens()

About

multitranfer contract on eth to transfer ETH or ERC-20 token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published