-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msig_court artifacts; build, verify & deploy instructions
- Loading branch information
1 parent
3eb7784
commit 02abe3e
Showing
12 changed files
with
1,515 additions
and
1,059 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Deploying contracts to production | ||
|
||
1. Open https://ui.use.ink/ | ||
2. Connect to network you want to deploy to | ||
3. Click `Add New Contract` -> `Upload New Contract Code` | ||
4. Select deployer account | ||
5. Give some descriptive name (this will only be stored in local browser, not public) | ||
6. Upload `*.contract` file from the `artifacts/` directory as Contract Bundle | ||
7. Click `Next` -> `Next` -> `Upload & Instantiate` | ||
8. Update contract's README.md with the new address if applicable |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Multisig Court | ||
|
||
This repository contains an ink! smart contract for Liberland blockchain which acts as a simplified court for force transferring staked LLM. | ||
|
||
The artifacts folder contains the exact compiled binary that has been deployed, as well as all other compilation artifacts for verification purposes. | ||
|
||
Contract is deployed on: | ||
* Bastiat: TBD | ||
* Mainnet: TBD | ||
|
||
# Building | ||
|
||
Run in root of the repository (NOT in the `contracts` directory): | ||
``` | ||
cargo install --force --locked cargo-contract | ||
cargo contract build --verifiable --manifest-path ./contracts/msig_court/Cargo.toml | ||
``` | ||
|
||
Build output can be found in `./contracts/msig_court/target/ink`. | ||
|
||
# Verifying integrity | ||
|
||
Run in root of the repository (NOT in the `contracts` directory): | ||
``` | ||
cargo contract verify --contract=./contracts/msig_court/artifacts/msig_court.contract --manifest-path=./contracts/msig_court/Cargo.toml | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.