Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Storm committed Aug 22, 2018
1 parent df244c4 commit e7df12b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_PROXY_MULTISENDER=0x
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Dapp allows a user to send thousands of token transfers in a very effecient
9. Click next.
10. If everything looks good, click next once again.
11. Wait for MetaMask to generate an approval transaction.
12. Once the approval transaction is mined, MetaMask will generate as many transactions as needed for your token transfers (175 addresses per tx).
12. Once the approval transaction is mined, MetaMask will generate as many transactions as needed for your token transfers (145 addresses per tx).
13. Done!

You can test this tool on any test network, if you want to make sure that
Expand Down Expand Up @@ -53,6 +53,31 @@ https://kovan.etherscan.io/tx/0x755b84a8a61fd82c1410f6bbbb452c94ddf12fac5b1daaa1
```

# How to setup dev environment

1. git clone [email protected]:rstormsf/multisender.git
2. cd contracts
3. I used `node -v v9.7.1`
4. npm install
5. deploy MultiSender contract OR use existing deployed version: 0xa5025faba6e70b84f74e9b1113e5f7f4e7f4859f
currenty deployed on Kovan, Rinkeby, Ropsten, POA-network, POA-Sokol, Mainnet
Instructions on how to deploy it is listed below.
6. cd ..
7. npm install
8. cp .env.example .env
9. open .env file and provide an address of multisender contract
10. npm run start

# Contract Deployment

There are 2 ways to deploy the contracts: Upgradable and non-upgradable way.
Non-upgrdable:
- cd contracts
- npm run flatten
- take `flats/UpgradebleStormSender_flat.sol` and deploy it using https://remix.ethereum.org/
- select solidity 0.4.23 version in settings
- once deployed, call `initialize` function with parameter address of owner's contract

# Disclaimer
This tool is not affiliated with https://poa.network
This is a personal project of Roman Storm.
Expand Down
3 changes: 2 additions & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"flatten": "truffle-flattener UpgradebleStormSender.sol > flats/UpgradebleStormSender_flat.sol"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit e7df12b

Please sign in to comment.