Skip to content

Commit 360336f

Browse files
Updated links for pchain_compile
1 parent 9a2561c commit 360336f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The purpose of this documentation is to provide a full explanation of our rust S
1515

1616
---
1717

18-
If you are interested in ParallelChain Mainnet, join our [Official Telegram Group](https://t.me/parallelchainofficial) or [Discord channel](https://discord.gg/ea2WtnadgE) to reach out to us..
18+
If you are interested in ParallelChain Mainnet, join our [Official Telegram Group](https://t.me/parallelchainofficial) or [Discord channel](https://discord.gg/ea2WtnadgE) to reach out to us.
1919

2020
For sharing the smart contract code, address, or any help with creating smart contracts, please go to [GitHub Discussions](https://github.com/parallelchain-io/parallelchain-sdk/discussions)
2121

docs/smart_contract_sdk/build_contract.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ wasm-opt | 109 | WASM utility to load WebAssembly in text format and run Bi
5555
- The path to the Cargo.toml package of the smart contract code directory.
5656
- This is a *mandatory* field.
5757
- `pchain_compile` supports both absolute and relative paths to your smart contract code directory.
58-
- If "." is passed to the source field the path will be set to the current working. directory.
58+
- If "." is passed to the source field the path will be set to the current working directory.
5959
2. **destination**
60-
- The path where the resulting WASM smart contract with the name <package_name>.wasm will be stored. package_name
60+
- The path where the resulting WASM smart contract with the name <package_name>.wasm will be stored. `package_name`
6161
is the name of the package denoted in the manifest file of the source code directory.
6262
- This is an *optional* field. `pchain_compile` saves the generated wasm file to the **source** path if this flag is not supplied.
6363
- If **destination** path is relative, `pchain_compile` interprets the corresponding absolute path and displays it with the WASM Binary filename after the build process is complete.
@@ -74,24 +74,24 @@ To run `pchain_compile` after installing prerequisites in the following section.
7474
For Windows there is no need for this step.
7575
7676
2. The format of the command on Linux is shown as follows.
77-
`./pchain_compile --source <MANIFEST_PATH> --destination <DESTINATION_PATH>`
77+
`./pchain_compile build --source <PATH_TO_YOUR_CONTRACT> --destination <DESTINATION_PATH>`
7878
7979
## Example
8080
The following is a real life example of how `pchain_compile` can be used where some source code is kept with a manifest file on a path
81-
`<MANIFEST_PATH>` in two different OS platforms.
81+
`<PATH_TO_YOUR_CONTRACT>` in two different OS platforms.
8282
8383
=== "Linux / macOS"
8484
8585
```
8686
./pchain_compile build \
87-
--source <MANIFEST_PATH>
87+
--source <PATH_TO_YOUR_CONTRACT>
8888

89-
Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm) is saved at (<MANIFEST_PATH>).
89+
Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm) is saved at (<PATH_TO_YOUR_CONTRACT>).
9090
```
9191
9292
```
9393
./pchain_compile build \
94-
--source <MANIFEST_PATH> \
94+
--source <PATH_TO_YOUR_CONTRACT> \
9595
--destination <DESTINATION_PATH>
9696

9797
Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm) is saved at (<DESTINATION_PATH>).
@@ -101,9 +101,9 @@ Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm
101101
102102
```
103103
pchain_compile.exe build \
104-
--source <MANIFEST_PATH>
104+
--source <PATH_TO_YOUR_CONTRACT>
105105

106-
Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm) is saved at (<MANIFEST_PATH>).
106+
Output: Finished compiling. ParallelChain F smart contract (<MANIFEST_NAME>.wasm) is saved at (<PATH_TO_YOUR_CONTRACT>).
107107
```
108108
109109
```
@@ -121,11 +121,11 @@ following links below.
121121
122122
=== "Linux / macOS"
123123
124-
For Linux / macOS users can download `pchain_compile` from [here](https://cms.parallelchain.io/pchain_compile_linux_v1.0.tar.xz)
124+
For Linux / macOS users can download `pchain_compile` from [here](https://cms.parallelchain.io/pchain_compile_linux_v1.1.tar.xz)
125125
126126
=== "Windows"
127127
128-
For Windows users can download `pchain_compile` from [here](https://cms.parallelchain.io/pchain_compile_win_v1.0.zip)
128+
For Windows users can download `pchain_compile` from [here](https://cms.parallelchain.io/pchain_compile_win_v1.1.zip)
129129
130130
131131
## Deploy Contract

0 commit comments

Comments
 (0)