Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed May 20, 2024
1 parent 3127828 commit 2700242
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ const bytes = Writable.writeToBytesOrThrow(catAndDog)
const hex = "0x" + Base16.get().encodeOrThrow(bytes)
```

### Signing
### Signatures

#### Signing personal message

```tsx
import { Bytes } from "@hazae41/bytes"
Expand All @@ -261,7 +263,7 @@ const signatureBytes = signatureExt.value.exportOrThrow().copyAndDispose()
const signatureZeroHex = `0x${Base16.get().encodeOrThrow(signatureBytes)}`
```

### Recovery
#### Recovering personal message

```tsx
import { ExtPublicKey, Address } from "@hazae41/cubane"
Expand Down

0 comments on commit 2700242

Please sign in to comment.