Skip to content

Rate-Limiting-Nullifier/rln-contract

Repository files navigation

Foundry project for Rate-Limit Nullifier contract

How to use

Install Foundry framework:

curl -L https://foundry.paradigm.xyz | bash
foundryup

Build:

forge build

Test:

forge test

Deploy:

You can change values (env variables) used for the contract initialization in .env file.

To deploy to Goerli:

source .env
forge script script/RLN.s.sol:RLNScript --rpc-url $GOERLI_RPC_URL --broadcast --etherscan-api-key <YOUR-API-KEY> --verifier-url https://api-goerli.etherscan.io//api --verify -vvvv --private-key <YOUR-PRIVATE-KEY>

This will also verify contracts on Etherscan.


What's RLN?

RLN is a zero-knowledge gadget that enables spam prevention in anonymous environments.

The core parts of RLN are:


To learn more on RLN and how it works - check out documentation.

About

Foundry project for the RLN

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •