File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ that can be created in javascript as well.
13
13
const hash = createSha256Hash (" deadbeef" ); // b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea
14
14
```
15
15
16
- ``` Clarity
16
+ ``` clarity
17
17
;; vote
18
18
(define-map votes principal (buff 32))
19
19
(map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea)
@@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03
30
30
31
31
** Recipes**
32
32
33
- - [ create-sha256- hash-stacks- js] ( /cookbook/create-sha256-hash-stacks-js )
33
+ - [ Create a SHA-256 hash using Stacks. js] ( /cookbook/create-sha256-hash-stacks-js )
Original file line number Diff line number Diff line change 1
- # Create a SHA-256 hash using stacks .js
1
+ # Create a SHA-256 hash using Stacks .js
2
2
3
3
A scripts in javascript that creates a sha256 hash
4
4
that can be created in Clarity as well.
@@ -13,7 +13,7 @@ that can be created in Clarity as well.
13
13
const hash = createSha256Hash (" deadbeef" ); // b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea
14
14
```
15
15
16
- ``` Clarity
16
+ ``` clarity
17
17
;; vote
18
18
(define-map votes principal (buff 32))
19
19
(map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea)
@@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03
30
30
31
31
** Recipes**
32
32
33
- - [ create-sha256- hash-clarity ] ( /cookbook/create-sha256-hash-clarity )
33
+ - [ Create a SHA-256 hash using Clarity ] ( /cookbook/create-sha256-hash-clarity )
You can’t perform that action at this time.
0 commit comments