Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Program & PDA reference

This is a reference page — for behavior and pricing, see the topic pages and Economics. It’s here for readers who want to see exactly what’s on-chain.

Program IDs

ProgramAddress
Mail programMaiLyqjRuHp8SSQHjiLMPmhBcuLitSta4YdoTiibXu4
Alias programALiasg6qDnwcY8HfyeC1AjXRFjyqpXxW4omtwF1i125q

PDA seeds

Seed constantBytes
POSTOFFICE_SEEDpostoffice
MAIL_DOMAIN_SEEDmaildomain
MAIL_MESSAGE_SEEDemailmessage
PUB_ENCRYPTION_KEY_SEEDencryption_key
FROMBOX_SEEDfrombox

Mailbox and alias accounts don’t use a named seed constant — they derive directly from the owner’s wallet address (mailbox) or the alias name’s blake3 hash (alias).

MailInstruction variants

Each variant is the on-chain instruction a sithbit command ultimately submits:

InstructionEmitted by
SendMailmail send
DeleteMailmail delete
CreateMailboxmailbox create
UpdateMailboxmailbox update
CreateFromboxfrombox create
UpdateFromboxfrombox update
AddStampsfrombox stamp
InitPostofficepostmaster init
TransferPostmasterpostmaster transfer
CreateDomaindomain create
DeactivateDomaindomain deactivate
CloseDomaindomain close
TransferDomainAuthoritydomain transfer
SetMailboxKeymailbox set-key
WithdrawPostofficepostmaster withdraw
CloseFromboxfrombox close
CloseMailboxmailbox close
CloseKeymailbox close-key
SetStampFeepostmaster set-stamp-fee

AliasInstruction variants

InstructionEmitted by
CreateAliasalias create (and automatically by mailbox create)
TransferAliasalias transfer
CloseAliasalias close