Umi and Web3js Differences
Differences
When using Umi you may come across some differences between Umi and solana web3js.
Although having the same or similar import names these function differently and are not compatible between the two librarys out the box.
PublicKeys
Umi PublicKey
JavaScript
Solana Web3js PublicKey
JavaScript
These are just basic examples. To learn more about Umi's keypairs check out PublicKeys and Signers. There are also converters between both Umi and web3js Web3Js Adapters
Keypairs
Umi Keypair
JavaScript
Web3js Keypair
JavaScript
These are just basic examples. To learn more about Umi's keypairs check out PublicKeys and Signers. There are also converters between both Umi and web3js keypair types Web3Js Adapters
Transactions
Umi Transaction
JavaScript
Web3js Transaction
JavaScript
These are just basic examples. To learn more about Umi's Transiactions check out Transactions. There are also converters between both Umi and web3js Transaction types Web3Js Adapters
Last updated