Skip to content

Commit 1ec94c0

Browse files
committed
Update the sample code's permalink
1 parent 229f933 commit 1ec94c0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The target of this tutorial is very simple: use [Lumos](https://github.com/ckb-j
66
After installing Lumos, you can use it to send a transaction to CKB testnet, write a simple `Common Knowledge`: "Hello World" into a [cell](https://docs.nervos.org/docs/reference/cell/) on CKB.
77
Here's an example of how you can do that:
88

9-
https://github.com/Flouse/ckb-tthw/blob/1a7508b262a5ecdc371086a55e0c080041731541/tthw-tmp-demo/index.ts#L82-L87
9+
https://github.com/Flouse/ckb-tthw/blob/229f9332ceb1bf365e7e1ea131322001cf1b862c/tthw-tmp-demo/index.ts#L85-L96
1010

1111

1212
## TODO

tthw-tmp-demo/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const signAndSendTx = async (
7272
const rpc = new RPC("https://testnet.ckb.dev/rpc");
7373

7474
// send the transaction to CKB node, null and passthrough mean skipping outputs validation
75-
const txHash = await rpc.sendTransaction(signedTx, 'passthrough')
75+
const txHash = await rpc.sendTransaction(signedTx)
7676
return txHash;
7777
}
7878

@@ -92,6 +92,6 @@ const signAndSendTx = async (
9292
const txHash = await signAndSendTx(txSkeleton, testPrivKey);
9393
console.log(`Transaction ${txHash} sent.\n`);
9494

95-
// Done, let's see the transaction in the CKB Testnet explorer
95+
// Done, let's see the transaction in CKB Testnet Explorer
9696
console.log(`See ${CKB_TESTNET_EXPLORER}/transaction/${txHash}`);
9797
})();

0 commit comments

Comments
 (0)