Skip to content

AlmostEfficient/transaction-deep-dive

Repository files navigation

transaction-deep-dive

A deep dive into Solana transactions and how they work. Video walkthrough + further exlanation: Everything you need to know about Solana transactions

Scripts

  • memo-transaction.ts: A legacy Solana tx that interacts with the memo program, built from scratch without any Solana libraries.
  • transfer-transaction.ts: Transfers SOL from one wallet to another, built from scratch without any Solana libraries.
  • legacy-vs-versioned.js: An untested script that shows the difference between how legacy and versioned transactions are created.
  • web3.js: prints out a bunch of info for a transfer tx created with web3.js. Use this to figure out what your raw transactions should look like

Suggested reading

Deep dive into versioned transactions (with fancy graphics) - Anvit Mangal
Jito - Solana Validator 101 transaction processing
Umbra Research - Lifecycle of a Solana transaction

image

About

A deep dive into Solana transactions and how they work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors