Skip to content

Commit 46e7a02

Browse files
committed
refactor: sub0 page
1 parent 46cd62c commit 46e7a02

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

docs/intro/sub0-hackathon.mdx

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,23 @@ Install Rust (>= 1.90) and `cargo`: [Installation Guide](https://doc.rust-lang.o
4545
<TabItem value="pop" label="Pop" default>
4646

4747
```bash
48-
# Install Pop CLI
49-
$ cargo install --locked --git https://github.com/r0gue-io/pop-cli --branch v0.5-beta pop-cli
48+
# Install Pop CLI via brew
49+
$ brew install r0gue-io/pop-cli/pop
50+
51+
# From source
52+
$ cargo install --force --locked pop-cli
5053

5154
# Create a simple contract
52-
$ pop new contract flipper && cd flipper
55+
$ pop new
56+
57+
# Build your contract
5358
$ pop build --release
5459

5560
# Pop CLI automatically launches a local node when deploying
5661
$ pop up
5762

5863
# Interact with your contract
59-
$ pop call --contract 0x… --message get
60-
$ pop call --contract 0x… --message flip
64+
$ pop call
6165
```
6266

6367
</TabItem>
@@ -99,11 +103,9 @@ $ cargo contract call --suri //Alice --contract 0x… --message flip -x
99103
Please see the chapter [Getting started](../getting-started/setup.md) of this
100104
documentation for a deeper introduction.
101105

102-
## You need to use ink! v6.0.0-beta!
106+
## Use ink! v6.0.0-beta!
103107

104-
Prior releases of ink! are not supported on Asset Hub!
105-
106-
Your `Cargo.toml` must contain
108+
Your `Cargo.toml` must contain:
107109

108110
```toml
109111
[dependencies]
@@ -117,16 +119,10 @@ ink_e2e = { version = "6.0.0-beta" }
117119
ink_sandbox = { git = "https://github.com/use-ink/ink.git", branch = "6.0.0-beta" }
118120
```
119121

120-
Your `cargo-contract` version must be `6.0.0-beta` too:
121-
```bash
122-
cargo install --force --locked --version 6.0.0-beta cargo-contract
123-
```
124-
125-
126122
## 🤔 Smart Contract Examples
127123

128-
You can find many contract examples in
129-
<a href="https://github.com/use-ink/ink-examples/tree/v6.x">the v6 branch of our `ink-examples` repository</a>.
124+
You can find many contract examples in our
125+
<a href="https://github.com/use-ink/ink-examples">`ink-examples`</a> repository.
130126

131127
<div className="row">
132128
<div className="col text--center">

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
reference: [
33
'intro/intro',
4+
'intro/sub0-hackathon',
45
{
56
type: "category",
67
label: "Getting started",
@@ -67,7 +68,6 @@ module.exports = {
6768
]
6869
},
6970
// "development/deployment",
70-
"development/contract-verification",
7171
{
7272
type: "category",
7373
label: "Debugging",
@@ -82,6 +82,7 @@ module.exports = {
8282
"development/debugging/precompiles"
8383
]
8484
},
85+
"development/contract-verification",
8586
{
8687
type: "category",
8788
label: "Linter",

0 commit comments

Comments
 (0)