For example the the openzeppelin crowdsale contract has a function that sends ether to a wallet address. Could this method include logic to send 60% of the funds received to Alice's wallet and 40% to Bob's wallet?

1 Answer 1


This is called payment splitting.

It does not need to be built in to the crowdsale smart contract. You can simply create another smart contract that is a payment splitter. This splitter contract will split incoming payments in any programmable way.

For the crowdsale contract then just set the splitter smart contract address as the benefactor wallet.

  • Thank you Mikko. Do you know where I can find an example of a contract that has a programmable implementation of the payment splitting in it, for reference? May 22, 2018 at 7:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.