Skip to content

Commit 513cc8f

Browse files
committed
Fix spellcheck
1 parent 46fd271 commit 513cc8f

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

.cspell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"chipnet",
4747
"cleanstack",
4848
"cryptocurrency",
49+
"collateralized",
4950
"datasig",
5051
"deserialisation",
5152
"docblock",
@@ -94,6 +95,7 @@
9495
"linebreak",
9596
"listunspent",
9697
"locktime",
98+
"locktimes",
9799
"lokad",
98100
"lshift",
99101
"mecenas",
@@ -159,6 +161,7 @@
159161
"signable",
160162
"sigs",
161163
"spedn",
164+
"stablecoins",
162165
"startup",
163166
"standardness",
164167
"tagline",
@@ -203,6 +206,7 @@
203206
"bchn",
204207
"cashcompiler",
205208
"cashninjas",
209+
"chaingraph",
206210
"cherian",
207211
"CSCriptNum",
208212
"docu",
@@ -216,6 +220,7 @@
216220
"lichos",
217221
"mainnetjs",
218222
"maxdepth",
223+
"moria",
219224
"networkprovider",
220225
"outputnulldata",
221226
"outputp",

packages/cashscript/test/e2e/network/FullStack.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (!process.env.TESTS_USE_MOCKNET) {
3535

3636
describe('send using FullStackNetworkProvider', () => {
3737
// Note: We instantiate the contract with bobPkh to avoid mempool conflicts with other tests
38-
// Using p2sh20 address becuase it is funded on mainnet
38+
// Using p2sh20 address because it is funded on mainnet
3939
const p2pkhInstance = new Contract(artifact, [bobPkh], { provider, addressType: 'p2sh20' });
4040
console.log(p2pkhInstance.address);
4141

@@ -74,5 +74,5 @@ if (!process.env.TESTS_USE_MOCKNET) {
7474
});
7575
});
7676
} else {
77-
test.skip('skip', () => {});
77+
test.skip('skip', () => { });
7878
}

packages/cashscript/test/types/Contract.types.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface ManualArtifactType extends Artifact {
3434

3535
// describe('P2PKH contract | single constructor input | single function (2 args)')
3636
{
37-
// describe('Contructor arguments')
37+
// describe('Constructor arguments')
3838
{
3939
// it('should not give type errors when using correct constructor inputs')
4040
new Contract(p2pkhArtifact, [alicePkh]);

website/docs/guides/infrastructure.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Contract Infrastructure
33
---
44

55
When creating a smart contract application on Bitcoin Cash you'll need to investigate whether you need surrounding contract infrastructure.
6-
Below we'll discuss the 2 main types of contract infrastructure you might run into: the need to store contract details and the need for a transaction server.
6+
Below we'll discuss the 2 main types of contract infrastructure you might run into: the need to store contract details and the need for a transaction server.
77

88
## Storing Contract Details
99

@@ -13,7 +13,7 @@ Because of the `pay-to-scripthash` (`P2SH`) standard for smart contracts on BCH,
1313
It is the responsibility of smart contract services/apps to keep track of the contract details making up the `P2SH` contract, as user-wallets are currently not smart enough to do this automatically.
1414
:::
1515

16-
When users are allowed to provide their own `constructor` arguments when creating a BCH smart contract, each contract creation will have a unique smart contract address. Only the constructor arguments in the contract bytecode are variable, the rest of the bytecode for a contract is static. This static part is derived from the CashScript source file, so storing the contract source file or artifact both has the same effect.
16+
When users are allowed to provide their own `constructor` arguments when creating a BCH smart contract, each contract creation will have a unique smart contract address. Only the constructor arguments in the contract bytecode are variable, the rest of the bytecode for a contract is static. This static part is derived from the CashScript source file, so storing the contract source file or artifact both has the same effect.
1717

1818
:::note
1919
To construct the full contract script you need both the `constructor` arguments and static contract bytecode (either the contract source file or the `Artifact`) to be available.
@@ -40,10 +40,10 @@ There are 2 main types of events which might need a transaction server to trigge
4040

4141
### Time-related events
4242

43-
Time-related events are when your smart contract uses absolute or relative locktimes, which require a waiting period before certain transactions can happen. However, if you want those transactions to 'automatically' happen when this locktime is reached, then you will need to create a transaction server to monitor the blockheight on an ongoing basis.
43+
Time-related events are when your smart contract uses absolute or relative locktimes, which require a waiting period before certain transactions can happen. However, if you want those transactions to 'automatically' happen when this locktime is reached, then you will need to create a transaction server to monitor the block height on an ongoing basis.
4444

4545
:::tip
46-
Both the `Electrum` and `Chaingraph` indexers allow you to create websocket subscriptions to listen for blockheight updates.
46+
Both the `Electrum` and `Chaingraph` indexers allow you to create websocket subscriptions to listen for block height updates.
4747
:::
4848

4949
### Oracle-related events

website/docs/guides/syntax-highlighting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GitHub has highlighting for Solidity built in. To associate `.cash` files with S
4343
*.cash linguist-language=Solidity # GitHub
4444
```
4545

46-
Unfortunately Gitlab does not have properly working Soldidity highlighting through the `gitattributes` for now...
46+
Unfortunately Gitlab does not have properly working Solidity highlighting through the `gitattributes` for now...
4747

4848
## Others
4949
If your editor is not mentioned above, the steps are likely very similar. Try to find a Solidity syntax highlighting plugin for your editor of choice and find a method to associate `.cash` files with this Solidity highlighting.

website/docs/showcase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Tapswap is the first non-custodial marketplace to trade CashTokens, both fungibl
2626
<a href="https://moria.money/" target="_blank"><img src="/img/moria.png" /></a>
2727
</div>
2828

29-
Moria is a decentralized stablecoin and borrowing protocol on Bitcoin Cash using CashTokens. The Moria protocol works with collateralized-debt-positions (CDPs) where stablecoins are issued by creating over-collateralized loans. The Moria protocol uses multiple smart contracts, all written in CashScript.
29+
Moria is a decentralized stablecoin and borrowing protocol on Bitcoin Cash using CashTokens. The Moria protocol works with collateralized debt positions (CDPs) where stablecoins are issued by creating over-collateralized loans. The Moria protocol uses multiple smart contracts, all written in CashScript.
3030

3131
## Bitcats Heroes
3232

0 commit comments

Comments
 (0)