Skip to content

Commit da95d26

Browse files
committed
refactor: final v11 changes
1 parent 4428bf5 commit da95d26

16 files changed

+72
-444
lines changed

β€ŽSUMMARY.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
* [Build a Chain](https://learn.onpop.io/v/appchains)
88
* [Build a Smart Contract](https://learn.onpop.io/v/contracts)
99
* [Hackathon Guide](welcome/hackathon-guide.md)
10-
* [Get tokens on Pop Network](welcome/get-tokens-on-pop-network.md)

β€Žpop-cli-for-appchains/install-pop-cli.mdβ€Ž

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@
66

77
#### Install Homebrew (if not installed)
88

9-
- Run the official installer:
9+
Run the official installer (more info [here](https://brew.sh)):
1010

1111
```bash
1212
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
1313
```
1414

15-
More info: https://brew.sh
16-
17-
- Add Homebrew to your PATH (if the installer didn’t do it for you):
18-
19-
macOS (Apple Silicon):
15+
Add Homebrew to your PATH (if the installer didn’t do it for you):
16+
- macOS (Apple Silicon):
2017
```bash
2118
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
2219
eval "$([ -x /opt/homebrew/bin/brew ] && /opt/homebrew/bin/brew shellenv)"
2320
```
2421

25-
Linux:
22+
- Linux:
2623
```bash
2724
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
2825
eval "$([ -x /home/linuxbrew/.linuxbrew/bin/brew ] && /home/linuxbrew/.linuxbrew/bin/brew shellenv)"
@@ -33,14 +30,12 @@ Verify:
3330
brew --version
3431
```
3532

36-
Now install Pop CLI with Homebrew:
33+
#### Install Pop CLI with Homebrew
3734

3835
```bash
3936
brew install r0gue-io/pop-cli/pop
4037
```
4138

42-
> Homebrew is available on both macOS and Linux. If you prefer or are on another OS, you can build from source instead.
43-
4439
### 1.2 Build from source (any OS)
4540

4641
Firstly, install Rust:

β€Žpop-cli-for-smart-contracts/SUMMARY.mdβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
* [Build Polkadot Smart Contracts with Rust](README.md)
66
* [Install Pop CLI](welcome/install-pop-cli.md)
7-
* [Getting Started with ink! v6](welcome/migrating-to-inkv6.md)
87

98
## GUIDES
109

@@ -14,10 +13,7 @@
1413
* [Deploy](guides/deploy.md)
1514
* [Call](guides/call-your-contract.md)
1615
* [Securely Sign Transactions from CLI](guides/securely-sign-transactions-from-cli.md)
17-
* [Get tokens on Pop (Testnet)](guides/bridge-tokens-to-pop-network.md)
1816

1917
## TUTORIALS
2018

2119
* [Your first ink! smart contract](tutorials/your-first-ink-smart-contract.md)
22-
* [Mint a PSP22 token on Pop](tutorials/mint-a-psp22-token-on-pop.md)
23-
* [Mint a PSP34 token on Pop Network](tutorials/mint-a-psp34-token-on-pop-network.md)

β€Žpop-cli-for-smart-contracts/guides/build-your-contract.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Build
22

3-
> πŸš€ **Note:** For experimenting with ink! v6, make sure to check [getting-started-with-inkv6.](../welcome/migrating-to-inkv6.md)
4-
53
Before we compile your smart contract, make sure to take a look at what an ink! contract consists of in the [documentation](https://use.ink/docs/v6/getting-started/building-your-contract). 
64

75
To build your ink! smart contract, make sure you are inside your ink! smart contract directory and run the following command:

β€Žpop-cli-for-smart-contracts/guides/call-your-contract.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Call
22

3-
> πŸš€ **Note:** For experimenting with ink! v6, make sure to check [getting-started-with-inkv6.](../welcome/migrating-to-inkv6.md)
4-
53
Now that your contract is deployed, we can interact with it.
64

75
### Interactive Guidance (Recommended)

β€Žpop-cli-for-smart-contracts/guides/create-a-new-contract.mdβ€Ž

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
# Create a new contract
22

3-
> πŸš€ **Note:** For experimenting with ink! v6, make sure to check [getting-started-with-inkv6.](../welcome/migrating-to-inkv6.md)
4-
53
To view all available smart contract templates run:
64

75
```bash
8-
pop new contract --template
6+
pop new contract
97
```
108

119
To start a new contract, e.g. ERC20, run:
1210

1311
```bash
14-
pop new contract my_erc20 --contract-type erc --template erc20
12+
pop new contract my_erc20 --template erc20
1513
```
1614

17-
Then open the generated `my_erc20` directory to start developing your contract!\
18-
\
19-
Any ideas or requests for contract templates? [Create an issue :)](https://github.com/r0gue-io/pop-cli/issues/new)
15+
Then open the generated `my_erc20` directory to start developing your contract!
2016

2117
**Need help?**
2218

β€Žpop-cli-for-smart-contracts/guides/deploy.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Deploy
22

3-
> πŸš€ **Note:** For experimenting with ink! v6, make sure to check [getting-started-with-inkv6.](../welcome/migrating-to-inkv6.md)
4-
53
Now that we have developed our contract, tested it, we can now deploy it on a blockchain!
64

75
### Local Deployment (default)

β€Žpop-cli-for-smart-contracts/guides/run-your-unit-tests.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Test
22

3-
> πŸš€ **Note:** For experimenting with ink! v6, make sure to check [getting-started-with-inkv6.](../welcome/migrating-to-inkv6.md)
4-
53
To learn how to test your ink! smart contract, from unit tests to e2e testing workflows, go checkout the [ink! testing documentation](https://use.ink/docs/v6/contract-testing/overview).
64

75
To run your ink! smart contract's unit tests, make sure you're in the directory of your contract and run the following command:

β€Žpop-cli-for-smart-contracts/tutorials/mint-a-psp22-token-on-pop.mdβ€Ž

Lines changed: 0 additions & 106 deletions
This file was deleted.

β€Žpop-cli-for-smart-contracts/tutorials/mint-a-psp34-token-on-pop-network.mdβ€Ž

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
Β (0)