r4bbit 649fe37dd1
chore: remove API and private keys from .env file
Few things:

1. I don't think we want to expose any etherscan API keys we use. We also
   don't want to expose any private keys.
2. Not sure where this private key comes from, likely a ganache/anvil
   generated account, but nonetheless, I think the `.env.example` file
   is meant to be copied to `.env` and then changes are done there.
2023-08-08 14:07:17 +02:00
2023-03-30 12:24:58 +05:30
2023-07-31 11:42:07 +05:30
2023-07-31 12:10:59 +05:30
2023-08-02 10:56:30 +05:30
2023-08-02 10:54:59 +05:30
2023-07-31 11:42:07 +05:30
2023-08-02 10:54:59 +05:30
2022-06-23 15:36:10 +02:00
2022-06-23 15:36:10 +02:00
2023-03-29 14:17:51 +05:30
2023-07-31 11:42:07 +05:30
2022-06-23 15:36:10 +02:00
2022-06-23 15:36:10 +02:00
2022-06-23 15:36:10 +02:00
2022-06-23 15:36:10 +02:00
2022-06-23 15:36:10 +02:00
2023-07-31 20:16:20 +05:30
2023-03-30 12:24:58 +05:30
2023-03-30 18:29:06 +05:30
2023-07-31 11:42:07 +05:30
2023-03-30 12:24:58 +05:30

Hardhat Project for rln-contract

Requirements

The following will need to be installed in order to use this repo. Please follow the links and instructions.

  • Git
    • You'll know you've done it right if you can run git --version
  • Foundry / Foundryup
    • This will install forge, cast, and anvil
    • You can test you've installed them right by running forge --version and get an output like: forge 0.2.0 (92f8951 2022-08-06T00:09:32.96582Z)
    • To get the latest of each, just run foundryup
  • Yarn

Compilation

yarn compile

Testing with Hardhat

yarn test:hardhat

Testing with Foundry

yarn test:foundry

Deploying

Locally

  • To deploy on a local node, first start the local node and then run the deploy script
yarn node
yarn deploy:localhost

Sepolia

  • To deploy to an target network (like Sepolia), use the name as mentioned in the Hardhat config file.
yarn deploy:sepolia
# You may verify the contract using
yarn verify:sepolia # Ensure you have set ETHERSCAN_API_KEY in your env

References

For more information, see https://hardhat.org/hardhat-runner/docs/guides/project-setup

License

Dual-licensed under MIT or Apache 2.0, refer to LICENSE-MIT or LICENSE-APACHE for more information.

Description
Waku's Fork of the RLN contract
Readme
Languages
TypeScript 98.5%
Shell 1.5%