Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# revenue-sharing-contract
This is a modified version of the Turnstile contract from Canto
```https://github.com/Canto-Improvement-Proposals/CIPs/blob/main/CIP-001.md```
# Revenue Sharing Contract
This is a modified version of the Turnstile contract from Canto:

[https://github.com/Canto-Improvement-Proposals/CIPs/blob/main/CIP-001.md](https://github.com/Canto-Improvement-Proposals/CIPs/blob/main/CIP-001.md)


## Setup
`forge install`
```bash
forge install
```

## Deploy
Create `.env` file and set Ethereum RPC at `MODE_RPC_URL` and deployer private key at `PRIVATE_KEY`.

Run
```
```bash
source .env
forge script script/FeeSharing.s.sol:FeeSharingScript --rpc-url $MODE_RPC_URL --broadcast -vvvv
```

## Test
`forge test -vvv`
```bash
forge test -vvv
```