-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #319 from invariant-labs/update-installation-overv…
…iew-types Adjusted description
- Loading branch information
Showing
3 changed files
with
86 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,42 +4,48 @@ title: Installation | |
slug: /aleph_zero/installation | ||
--- | ||
|
||
This section provides detailed instructions on how to install the Invariant protocol on Aleph Zero, including prerequisites and steps for setting up the development environment. | ||
This section provides detailed instructions on how to install the Invariant protocol on Aleph Zero, including prerequisites and steps for setting up the development environment. | ||
|
||
## Prerequisites | ||
|
||
* Rust & Cargo ([rustup](https://www.rust-lang.org/tools/install)) | ||
* cargo-contract ([cargo-contract](https://github.com/paritytech/cargo-contract)) | ||
* substrate-contracts-node ([substrate-contracts-node](https://github.com/paritytech/substrate-contracts-node)) | ||
* ink! ([ink!](https://use.ink/getting-started/setup)) | ||
- Rust & Cargo ([rustup](https://www.rust-lang.org/tools/install)) | ||
- cargo-contract ([cargo-contract](https://github.com/paritytech/cargo-contract)) | ||
- substrate-contracts-node ([substrate-contracts-node](https://github.com/paritytech/substrate-contracts-node)) | ||
|
||
### Rust & Cargo | ||
|
||
```bash | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | ||
``` | ||
|
||
### cargo-contract | ||
|
||
```bash | ||
rustup component add rust-src && cargo install --force --locked cargo-contract | ||
``` | ||
|
||
### substrate-contracts-node | ||
|
||
```bash | ||
cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git | ||
``` | ||
|
||
## Build protocol | ||
|
||
* Clone repository | ||
- Clone repository | ||
|
||
``` | ||
git clone [email protected]:invariant-labs/protocol-a0.git | ||
``` | ||
|
||
* Build contract | ||
- Build contract | ||
|
||
``` | ||
cargo contract build | ||
``` | ||
|
||
* Run tests | ||
- Run tests | ||
|
||
``` | ||
cargo test --features e2e-tests | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36d1272
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
protocol – ./
protocol-git-master-invariantlabs.vercel.app
protocol-invariantlabs.vercel.app
www.docs.invariant.app
docs.invariant.app