Solana to Aptos Cheatsheet
To learn more about the differences and similarities see Aptos Learn
Solana | Aptos | |
---|---|---|
Smart Contracts | Rust, SVM | Move, MoveVM |
Transaction Fees | Low | Low |
Parallelization | Pessimistic parallelism, need to declare all write accounts | Optimistic parallelism, chain infers write accounts for you |
Contract Account Support | PDA Account | Object or resource account(encourage to use object instead) |
Data Storage | Data stored in account owned by programs | Data stored as resource under user account or object |
Storage Level | Program level | Global when stored under object |
Storage Mindset | User data stored distributedly under account | User data stored distributedly under object |
Example Code | Todo list contract on Solana | Todo list contract on Aptos |
Caller ID | signer | signer |
Upgradability | Program is upgradable | Module is upgradable |
Dispatch Type | Static dispatch | Static dispatch |
FT Standards | Token program | Coin (legacy) and Fungible Asset Standard |
NFT Standards | Token program | Digital Asset Standard |
Blockchain Interaction | Solana web3.js library | Aptos Typescript SDK |