# Wallet Splitter

{% embed url="<https://www.youtube.com/watch?v=1QLAW9m454o>" %}

## Overview

Anyone can send funds to the 0xWalletSplitter address, knowing the funds will be divided fairly between Alice and Bob.

Alice will call the `release` function to take her 50%.

Bob will call the `release` function to take his 50%.

![](https://2455022349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmCUJWwYZrI9iWpvBVyjD%2Fuploads%2FlEjsAmT8Z13VEcimfy6R%2Fdiagram0.png?alt=media\&token=6544adf3-f2a9-47e7-a308-1887c5c34ef8)

## Problem

*Alice and Bob stared a company and will receive funds from DAOs, VC and anonymous donators. They each own 50% of the company.*

*Alice: How will we split the funds?*

*Bob: Send the funds to my wallet and I'll give you 50%.*

*Alice: I don't trust you.*

*Bob:* :sweat\_smile:

## Solution

Create a wallet that:

* Splits funds without trust
* Can be deployed on any EVM
* Splits native and ERC-20 tokens
* Simple UI for non devs

## Open Source & Decentralized

### Wallet Splitter Source Code

{% embed url="<https://github.com/WalletSplitter>" %}

### Contracts created by OpenZepplin

`This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware that the Ether will be split in this way, since it is handled transparently by the contract.` - OpenZepplin

{% embed url="<https://docs.openzeppelin.com/contracts/4.x/api/finance#PaymentSplitter>" %}

{% embed url="<https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.4/contracts/finance/PaymentSplitter.sol>" %}

## Questions

### Why Not Send Directly?

*Bob: Why not tell DAOs and VC to send 50% to 0xBob and 50% to 0xAlice*

*Alice: That works but what about donators?*

*Bob: They can do the same.*

*Alice: Don't make sense. They'll have to pay fees twice.*

*Bob:* :sweat\_smile:

### Why Not Multisig?

*Bob: Let's use a multisig wallet to divide funds*

*Alice: What's the threshold?*

*Bob: 1 of 2.*

*Alice:* :expressionless:

*Bob: 2 of 2*

*Alice: Why do I need **your** permission to get **my** funds?*

*Bob:* :sweat\_smile:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.walletsplitter.com/wallet-splitter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
