Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alonski/multisendethereum
Send Ethereum to Multiple Addresses in one Function
https://github.com/alonski/multisendethereum
Last synced: about 2 months ago
JSON representation
Send Ethereum to Multiple Addresses in one Function
- Host: GitHub
- URL: https://github.com/alonski/multisendethereum
- Owner: Alonski
- Created: 2018-01-07T18:11:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T16:06:07.000Z (over 6 years ago)
- Last Synced: 2024-11-01T20:42:20.462Z (2 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 64
- Watchers: 4
- Forks: 22
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MultiSend Smart Contract - Ethereum Solidity Truffle
This allows calling one function with parameters to send multiple amounts to multiple addresses
## Installation
1. Install Truffle globally.
```javascript
npm install -g truffle
```2. Install the necessary dependencies.
```javascript
npm install
```3. Run the development console.
```javascript
truffle develop
```4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with `truffle`.
```javascript
compile
migrate
```5. Truffle can run tests written in Solidity or JavaScript against your smart contracts. Note the command varies slightly if you're in or outside of the development console.
```javascript
// If inside the development console.
test// If outside the development console..
truffle test
```## FAQ
* __How do I use this with the EthereumJS TestRPC?__
It's as easy as modifying the config file! [Check out our documentation on adding network configurations](http://truffleframework.com/docs/advanced/configuration#networks). Depending on the port you're using, you'll also need to update line 34 of `src/util/web3/getWeb3.js`.
* __Why is there both a truffle.js file and a truffle-config.js file?__
`truffle-config.js` is a copy of `truffle.js` for compatibility with Windows development environments. Feel free to remove it if it's irrelevant to your platform.
* __Where can I find more documentation?__
Check out [Truffle](http://truffleframework.com/)
## Contributors
* [@Alonski](https://github.com/alonski) (Alon Bukai)
* [@Quazia](https://github.com/quazia) (Arthur Lunn)
* [@Lastperson](https://github.com/lastperson) (Oleksii Matiiasevych)
* [@GriffGreen](https://github.com/griffgreen) (Griff Green)