Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Oct 22, 2024
1 parent 7bd9ba5 commit 66c7724
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
"docu",
"fundme",
"hardhat",
"hodlvault",
"infima",
"jedex",
"lichos",
Expand All @@ -221,11 +222,13 @@
"setfiletype",
"tada",
"tapswap",
"tokenaut",
"txage",
"txbytecode",
"txhashoutputs",
"txtime",
"vite",
"walletconnect",
"withage",
"withfeeperbyte",
"withhardcodedfee",
Expand Down
4 changes: 2 additions & 2 deletions website/docs/basics/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The [CashScript Playground](https://playground.cashscript.org/) is a great way t
Here are the 5 simple steps for creating your first smart contract transaction with the Playground:
1. Compile a contract, for example the default `TransferWithTimeout` contract.
2. Create a new contract in the 'New Contract' tab by providing the contract arguments.
3. Add UTXOs to the smart contract address and the wallets used for testing.
4. Next, go to the TansactionBuilder select the contract and the function to invoke
3. Add UTXOs to the smart contract address and the wallets used for testing.
4. Next, go to the TransactionBuilder select the contract and the function to invoke
5. Finally, specify the in- and outputs for the transaction and click 'Send'!

## Creating a CashScript Contract
Expand Down
4 changes: 2 additions & 2 deletions website/docs/guides/optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ interface Artifact {
This way you can still use the CashScript TypeScript SDK while using a hand-optimized contract.

:::caution
If you manually overwite the `bytecode` in the artifact, this will make the auto generated 2-way-mapping to become obsolete.
This result of this is that the dubugging functionality will no longer work for the contract.
If you manually overwrite the `bytecode` in the artifact, this will make the auto generated 2-way-mapping to become obsolete.
This result of this is that the debugging functionality will no longer work for the contract.
:::
2 changes: 1 addition & 1 deletion website/docs/guides/walletconnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function transactionWalletConnect(){
decodedTransaction.inputs[1].unlockingBytecode = Uint8Array.from([]);

// construct list SourceOutputs, see source code
const listSourceOutputs = constructSourceOuputs(decodedTransaction, utxoInfo, contract)
const listSourceOutputs = constructSourceOutputs(decodedTransaction, utxoInfo, contract)

// wcTransactionObj to pass to signTransaction endpoint
const wcTransactionObj = {
Expand Down

0 comments on commit 66c7724

Please sign in to comment.