Browse all Smart Contract Security articles.

PDA (Program Derived Address) vs Keypair Account in Solana !Hero image showing PDA (Program Derived Address v.s. Keypair accounts) A program derived address (PDA) is an account whose address is...
Last updated on Sep 5, 2024
Solana logs, "events," and transaction history !Solana logs, "events," and transaction history Solana programs can emit events similar to how Ethereum emits events, though there are some differences...
Last updated on Aug 30, 2024
4 min read
UniswapV2Library Code Walkthrough UniswapV2Library The Uniswap V2 Library simplifies some interactions with pair contracts and is used heavily by the Router contracts. It contains eight functions...
Last updated on Aug 22, 2024
8 min read
Owner vs Authority in Solana !Hero image showing Owner vs Authority Newcomers to Solana are frequently confused by the distinction between an "owner" and an "authority." This article attempts to...
Last updated on Aug 15, 2024
Tx.origin, msg.sender, and onlyOwner in Solana: identifying the caller !tx.origin msg.sender onlyOwner in Solana In Solidity, the is a global variable that represents the address that called or...
Last updated on Aug 15, 2024
Rust Structs and Attribute-like and Custom Derive Macros !Rust attribute and custom-derive macros Attribute-like and custom derive macros in Rust are used to take a block of Rust code and modify it...
Last updated on Aug 15, 2024
Visibility and "inheritance" in Rust and Solana !Rust function visibillity Today we will be learning how Solidity's function visibility and contract inheritance can be conceptualized in Solana. There...
Last updated on Aug 15, 2024
Solana programs are upgradeable and do not have constructors !Hero image showing Anchor deploy In this tutorial we will peek behind the scenes of anchor to see how a Solana program gets deployed....
Last updated on Aug 15, 2024
Try Catch and all the ways Solidity can revert This article describes all the kinds of errors that can happen when a smart contract is called, and how the Solidity Try / Catch block responds (or...
Last updated on Aug 12, 2024
Web3.js Example. Latest version 4.x. Transfer, Mint and Query the Blockchain The newest version of web3.js, 4.x, has just been unveiled. In this guide, we’ll delve into integrating web3.js into HTML...
Last updated on Aug 10, 2024
Getting a smart contract audit: what you need to know A smart contract audit is a review by blockchain security experts to ensure that users will not lose funds due to a malfunction or security...
Last updated on Aug 7, 2024
5 min read
ZK-addition-dapp with Noir and Nextjs !ZK Dapp Game built with Noir and Next.js We will demonstrate a step-by-step exploration of a basic zk-dapp designed for verifying additions. This application...
Last updated on Aug 2, 2024