mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add a patch for zip so ethereum-serai doesn't conflict with Substrate
Also commits the lock file and updates documentation.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
target
|
target
|
||||||
Cargo.lock
|
|
||||||
|
|||||||
9747
Cargo.lock
generated
Normal file
9747
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -20,3 +20,6 @@ members = [
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
|
|
||||||
|
[patch.crates-io]
|
||||||
|
zip = { version = "0.6.2", git = "https://github.com/zip-rs/zip", rev = "bb230ef56adc13436d1fcdfaa489249d119c498f" }
|
||||||
|
|||||||
15
coins/ethereum/LICENSE
Normal file
15
coins/ethereum/LICENSE
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
AGPL-3.0-only license
|
||||||
|
|
||||||
|
Copyright (c) 2022 Luke Parker, Elizabeth Binks
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License Version 3 as
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
@@ -1,21 +1,9 @@
|
|||||||
# Ethereum
|
# Ethereum
|
||||||
|
|
||||||
This package contains Ethereum-related functionality, specifically deploying and interacting with Serai contracts.
|
This package contains Ethereum-related functionality, specifically deploying and
|
||||||
|
interacting with Serai contracts.
|
||||||
|
|
||||||
## Requirements
|
### Dependencies
|
||||||
|
|
||||||
- anvil & solc & geth's abigen (see [here](https://github.com/gakonst/ethers-rs#running-the-tests))
|
- solc
|
||||||
|
- [Foundry](https://github.com/foundry-rs/foundry)
|
||||||
## To test
|
|
||||||
|
|
||||||
To compile contracts:
|
|
||||||
```
|
|
||||||
cargo build
|
|
||||||
```
|
|
||||||
|
|
||||||
This places the compiled artifact into `artifacts/`.
|
|
||||||
|
|
||||||
To run Rust tests (you must have compiled the contracts first):
|
|
||||||
```
|
|
||||||
cargo test
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user