Skip to content

Commit ebf5024

Browse files
authored
fix: clarinet sbtc docs (#969)
* fix: clarinet sbtc docs * fix: remove comment * fix: fix codeblock * fix: fix codeblock
1 parent d9552c0 commit ebf5024

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

content/docs/stacks/clarinet/guides/working-with-sbtc.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To use sBTC in your contract, you need to add the `sbtc-deposit` smart contract
2020
In a Clarinet project, run the following command:
2121

2222
```terminal
23-
clarinet requirements add SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-deposit
23+
$ clarinet requirements add SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-deposit
2424
```
2525

2626
This will add the [`sbtc-deposit`](https://explorer.hiro.so/txid/SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-deposit)
@@ -37,7 +37,7 @@ As a SIP-010 token, sBTC let you call the `transfer` function to transfer tokens
3737
Let's say we have an NFT contract that allows users to buy mint an NFT using sBTC.
3838

3939

40-
```clarinet
40+
```clarity
4141
;; this code is for demo purposes
4242
;; it doesn't implement SIP-009 NFT standard
4343
(define-non-fungible-token nft-name uint)
@@ -75,8 +75,7 @@ sure that your contracts call the right address.
7575

7676
On testnet, the official Hiro sBTC contract is
7777
[ST1F7QA2MDF17S807EPA36TSS8AMEFY4KA9TVGWXT.sbtc-token](https://explorer.hiro.so/txid/ST1F7QA2MDF17S807EPA36TSS8AMEFY4KA9TVGWXT.sbtc-token?chain=testnet).
78-
This is is contract that is linked to the sBTC faucet (coming soon).
79-
{/* TODO: add link and instructions to use the faucet once ready */}
78+
This is the contract that is linked to the sBTC faucet (coming soon).
8079

8180
Again, Clarinet will make sure that your contracts call this address when being deployed on mainnet.
8281
You can see the of the sbtc-contract being re-mapped in the testnet deployment plan.

0 commit comments

Comments
 (0)