Skip to content

Commit 30c116a

Browse files
add llm files
1 parent 18d47c4 commit 30c116a

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

.ai/categories/smart-contracts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10509,7 +10509,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1050910509
```bash
1051010510
chmod +x /path/to/your/binary
1051110511
```
10512-
For mac environments, sometimes the binaries get quarantined. To remove this, run:
10512+
In macOS environments, binaries are sometimes quarantined. To remove this, run:
1051310513
```bash
1051410514
xattr -d com.apple.quarantine /path/to/your/binary
1051510515
```
@@ -10526,19 +10526,19 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1052610526
ls artifacts/contracts/*.sol/
1052710527
```
1052810528

10529-
You should see JSON files containing the contract ABI and bytecode of the contracts you compiled.
10529+
You should see JSON files containing the contract ABIs and bytecodes for the contracts you compiled.
1053010530

1053110531
## Set Up a Testing Environment
1053210532

10533-
Hardhat allows you to spin up a local testing environment to test and validate your smart contract functionalities before deploying to live networks. The `hardhat-polkadot` plugin provides the possibility to spin up a local node with an ETH-RPC adapter for running local tests.
10533+
Hardhat lets you spin up a local testing environment to test and validate your smart contract functionality before deploying to live networks. The `hardhat-polkadot` plugin allows you to spin up a local node with an ETH-RPC adapter for running local tests.
1053410534

1053510535
Once you have set up the binaries as per the [Compile Your Contract](#compile-your-contract) section, start your local testing node with:
1053610536

1053710537
```bash
1053810538
npx hardhat node
1053910539
```
1054010540

10541-
This command will launch a local node along with the ETH-RPC adapter, providing you with a complete testing environment ready for contract deployment and interaction. By default, the Substrate node will be running on `localhost:8000` and the ETH-RPC adapter on `localhost:8545`.
10541+
This command launches a local node with the ETH-RPC adapter, providing a complete testing environment ready for contract deployment and interaction. By default, the Substrate node runs on `localhost:8000`, and the ETH-RPC adapter on `localhost:8545`.
1054210542

1054310543
The output will be something like this:
1054410544

@@ -10581,7 +10581,7 @@ To run your test:
1058110581

1058210582
Before deploying to a live network, you can deploy your contract to a local node using [Ignition](https://hardhat.org/ignition/docs/getting-started#overview){target=\_blank} modules:
1058310583

10584-
1. Make sure that the local network is added as a target for in your Hardhat configuration file for local deployment:
10584+
1. Make sure that the local network is added as a target in your Hardhat configuration file for local deployment:
1058510585

1058610586
```javascript title="hardhat.config.js"
1058710587
localNode: {

.ai/categories/tooling.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19923,7 +19923,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1992319923
```bash
1992419924
chmod +x /path/to/your/binary
1992519925
```
19926-
For mac environments, sometimes the binaries get quarantined. To remove this, run:
19926+
In macOS environments, binaries are sometimes quarantined. To remove this, run:
1992719927
```bash
1992819928
xattr -d com.apple.quarantine /path/to/your/binary
1992919929
```
@@ -19940,19 +19940,19 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1994019940
ls artifacts/contracts/*.sol/
1994119941
```
1994219942

19943-
You should see JSON files containing the contract ABI and bytecode of the contracts you compiled.
19943+
You should see JSON files containing the contract ABIs and bytecodes for the contracts you compiled.
1994419944

1994519945
## Set Up a Testing Environment
1994619946

19947-
Hardhat allows you to spin up a local testing environment to test and validate your smart contract functionalities before deploying to live networks. The `hardhat-polkadot` plugin provides the possibility to spin up a local node with an ETH-RPC adapter for running local tests.
19947+
Hardhat lets you spin up a local testing environment to test and validate your smart contract functionality before deploying to live networks. The `hardhat-polkadot` plugin allows you to spin up a local node with an ETH-RPC adapter for running local tests.
1994819948

1994919949
Once you have set up the binaries as per the [Compile Your Contract](#compile-your-contract) section, start your local testing node with:
1995019950

1995119951
```bash
1995219952
npx hardhat node
1995319953
```
1995419954

19955-
This command will launch a local node along with the ETH-RPC adapter, providing you with a complete testing environment ready for contract deployment and interaction. By default, the Substrate node will be running on `localhost:8000` and the ETH-RPC adapter on `localhost:8545`.
19955+
This command launches a local node with the ETH-RPC adapter, providing a complete testing environment ready for contract deployment and interaction. By default, the Substrate node runs on `localhost:8000`, and the ETH-RPC adapter on `localhost:8545`.
1995619956

1995719957
The output will be something like this:
1995819958

@@ -19995,7 +19995,7 @@ To run your test:
1999519995

1999619996
Before deploying to a live network, you can deploy your contract to a local node using [Ignition](https://hardhat.org/ignition/docs/getting-started#overview){target=\_blank} modules:
1999719997

19998-
1. Make sure that the local network is added as a target for in your Hardhat configuration file for local deployment:
19998+
1. Make sure that the local network is added as a target in your Hardhat configuration file for local deployment:
1999919999

2000020000
```javascript title="hardhat.config.js"
2000120001
localNode: {

.ai/pages/develop-smart-contracts-dev-environments-hardhat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
136136
```bash
137137
chmod +x /path/to/your/binary
138138
```
139-
For mac environments, sometimes the binaries get quarantined. To remove this, run:
139+
In macOS environments, binaries are sometimes quarantined. To remove this, run:
140140
```bash
141141
xattr -d com.apple.quarantine /path/to/your/binary
142142
```
@@ -153,19 +153,19 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
153153
ls artifacts/contracts/*.sol/
154154
```
155155
156-
You should see JSON files containing the contract ABI and bytecode of the contracts you compiled.
156+
You should see JSON files containing the contract ABIs and bytecodes for the contracts you compiled.
157157
158158
## Set Up a Testing Environment
159159
160-
Hardhat allows you to spin up a local testing environment to test and validate your smart contract functionalities before deploying to live networks. The `hardhat-polkadot` plugin provides the possibility to spin up a local node with an ETH-RPC adapter for running local tests.
160+
Hardhat lets you spin up a local testing environment to test and validate your smart contract functionality before deploying to live networks. The `hardhat-polkadot` plugin allows you to spin up a local node with an ETH-RPC adapter for running local tests.
161161
162162
Once you have set up the binaries as per the [Compile Your Contract](#compile-your-contract) section, start your local testing node with:
163163
164164
```bash
165165
npx hardhat node
166166
```
167167
168-
This command will launch a local node along with the ETH-RPC adapter, providing you with a complete testing environment ready for contract deployment and interaction. By default, the Substrate node will be running on `localhost:8000` and the ETH-RPC adapter on `localhost:8545`.
168+
This command launches a local node with the ETH-RPC adapter, providing a complete testing environment ready for contract deployment and interaction. By default, the Substrate node runs on `localhost:8000`, and the ETH-RPC adapter on `localhost:8545`.
169169
170170
The output will be something like this:
171171
@@ -208,7 +208,7 @@ To run your test:
208208

209209
Before deploying to a live network, you can deploy your contract to a local node using [Ignition](https://hardhat.org/ignition/docs/getting-started#overview){target=\_blank} modules:
210210

211-
1. Make sure that the local network is added as a target for in your Hardhat configuration file for local deployment:
211+
1. Make sure that the local network is added as a target in your Hardhat configuration file for local deployment:
212212

213213
```javascript title="hardhat.config.js"
214214
localNode: {

.ai/site-index.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,12 +2720,12 @@
27202720
}
27212721
],
27222722
"stats": {
2723-
"chars": 14643,
2724-
"words": 2061,
2723+
"chars": 14590,
2724+
"words": 2051,
27252725
"headings": 11,
2726-
"estimated_token_count_total": 3350
2726+
"estimated_token_count_total": 3341
27272727
},
2728-
"hash": "sha256:8a04a69c6bad80db74466483ac5bdaf8d2bfe5639b220c2a5b7be9dd3eeff5c0",
2728+
"hash": "sha256:8faa740768edb9c21e8738c8fd395f37430fa01888b86042ba43eb87d29560ff",
27292729
"token_estimator": "heuristic-v1"
27302730
},
27312731
{

0 commit comments

Comments
 (0)