Skip to content

Commit

Permalink
make description of solana witness more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed Nov 23, 2023
1 parent 593f723 commit 5356fea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ Key parameters:
- pubkey hash: blake160 of (mode || spend key || view key)

#### Solana(algorithm_id=13)
The witness of a valid toncoin transaction should be a sequence of the following data.
The whole length of the witness must be exactly 512. If there are any space left, pad it with zero.

Key parameters:
- size of the following data combined (little-endian `uint16_t`)
- signature: solana signature
- public key: the public key of the signer
- message: the message solana client signed
Expand Down

0 comments on commit 5356fea

Please sign in to comment.