Jeffrey ScholzFeb 237 minIntroduction to Solana Compute Units and Transaction FeesIn Ethereum, the price of a transaction is computed as gasUsed × gasPrice. This tells us how much Ether will be spent to include the...
Jeffrey ScholzFeb 215 minTx.origin, msg.sender, and onlyOwner in Solana: identifying the callerIn Solidity, the msg.sender is a global variable that represents the address that called or initiated a function call on a smart...
Jeffrey ScholzFeb 203 minSolana logs, “events,” and transaction historySolana programs can emit events similar to how Ethereum emits events, though there are some differences we will discuss. Specifically,...