Skip to content

Commit

Permalink
Use ic-alloy v0.3.5-icp.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Nov 6, 2024
1 parent dc67198 commit 4e4bace
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions getting-started.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Getting Started



Smart contracts on [ICP](https://internetcomputer.org) can directly interact with the Ethereum network and other networks that are using the Ethereum Virtual Machine (EVM), such as Polygon and Avalanche. This integration is possible thanks to ICP's [HTTPS outcalls](https://internetcomputer.org/https-outcalls) and [threshold ECDSA](https://internetcomputer.org/capabilities/multi-chain-transactions/) features.

[Alloy](https://alloy.rs/) implements high-performance, well-tested & documented libraries for interacting with Ethereum and other EVM-based chains.
Expand All @@ -21,17 +19,14 @@ You can see two live examples of how to use `ic-alloy`:
- [ic-alloy-toolkit](https://github.com/ic-alloy/ic-alloy-toolkit): A collection of examples on how to perform common EVM operations. [Live demo](https://u4yi6-xiaaa-aaaap-aib2q-cai.icp0.io)
- [ic-alloy-basic-wallet](https://github.com/ic-alloy/ic-alloy-basic-wallet): A basic Ethereum multi-user wallet. [Live demo](https://7vics-6yaaa-aaaai-ap7lq-cai.icp0.io)


## Setup

To use the ICP enabled fork of Alloy in your project, add this to `Cargo.toml`:

```toml
alloy = { git = "https://github.com/ic-alloy/ic-alloy.git", default-features = false, branch = "icp", features = ["icp"]}
alloy = { git = "https://github.com/ic-alloy/ic-alloy.git", tag = "v0.3.5-icp.0", features = ["icp"]}
```



To use the `sol!()` macro, add the following crate features:

- `sol-types`
Expand Down

0 comments on commit 4e4bace

Please sign in to comment.