Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

drips-network/contracts

Repository files navigation

Radicle Drips protocol V2 smart contracts

Radicle Drips is an EVM blockchain protocol for streaming and splitting ERC-20 tokens. See docs for a high-level introduction and documentation.

Development

Radicle Drips uses Foundry for development. You can install it using foundryup.

The codebase is statically checked with Slither version 0.11.5. Here are the installation instructions.

Format code

forge fmt

Run tests

forge test

Run Slither

slither .

Deployment

Deploy to a local testnet

Start a local testnet node and let it run in the background:

anvil

Run deployment:

forge script -f localhost:8545 --broadcast --slow \
 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
 script/LocalTestnet.sol:Deploy

Deploying and updating on public networks

Deployments and updates are done using Foundry scripts. Those scripts are single-use and they are removed after execution to avoid maintenance. The scripts are never squashed away from the git history and each one can be found in old commits. Commits used for deployments and updates are marked with git tags, which documents the state of the protocol code at that point and the scripts that were executed.

About

πŸ’§ Drips Protocol Smart Contracts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /