From ffe46e62f7a4c4ab4d3a3f7b25784ba8db76a7ae Mon Sep 17 00:00:00 2001 From: Gauthier Leonard Date: Tue, 25 Jun 2024 22:22:38 +0200 Subject: [PATCH] feat: add MIT license file --- .env.example | 1 - LICENSES/MIT.txt | 21 +++++++++++++++++++++ README.md | 3 +-- foundry.toml | 4 ---- 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 LICENSES/MIT.txt diff --git a/.env.example b/.env.example index d46bd10..1f9a979 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1 @@ ETH_RPC_URL= -ETHERSCAN_API_KEY= \ No newline at end of file diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..9138989 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Symbiotic + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 5ac3359..a839ea7 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,9 @@ Create `.env` file using a template: ``` ETH_RPC_URL= -ETHERSCAN_API_KEY= ``` -\* ETHERSCAN_API_KEY is optional. +To get the `ETH_RPC_URL`, you can use [Alchemy](https://www.alchemy.com/), [Infura](https://infura.io/), or any other Ethereum node provider. ### Build diff --git a/foundry.toml b/foundry.toml index 923c909..6200f6f 100644 --- a/foundry.toml +++ b/foundry.toml @@ -24,8 +24,4 @@ tab_width = 4 runs = 2048 max_test_rejects = 262144 -[etherscan] -mainnet = { key = "${ETHERSCAN_API_KEY}" } -holesky = { key = "${ETHERSCAN_API_KEY}" } - # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options