Jesper Kristensen (jtk.eth)
Jesper Kristensen (jtk.eth)
  • Видео 25
  • Просмотров 77 476
Ethereum's Secret Code: Cracking Function Selectors Like a Pro! [Advanced Topic: Yul Included]
Dive deep into Ethereum function selectors with this comprehensive guide!
We cover:
- High-level overview of function selectors
- Computing selectors in Solidity (two methods)
- Calculating selectors in web browsers and Python
- Understanding msg.sig
- Function selectors at the EVM bytecode level
- Linear vs. binary search for selectors
- Function selectors in Yul
From basics to advanced concepts, this video equips you with essential knowledge for smart contract development. Perfect for beginners and experienced devs alike. Level up your Ethereum skills now!
CHAPTERS
00:00 - 1:04 Introduction
1:04 - 5:32 High level overview of function selectors
5:32 - 11:18 Example 1 - Computing function selector fr...
Просмотров: 689

Видео

Contract Inheritance in Python & Solidity
Просмотров 35311 месяцев назад
Learning to resolve complex inheritance instances is a helpful skill for any developer. In this video, I’ll show you how to deal with the diamond problem, and other complex problems related to inheritance using C3 linearization. EPISODE LINKS: Code Repo: github.com/jesperkristensen58/analyze-inheritance CHAPTERS: 0:00 | Welcome 1:30 | C3 Linearization 3:08 | The Basics of Inheritance 5:14 | Gen...
ABI Encoding: Learn To Construct Calldata By Hand
Просмотров 1,1 тыс.Год назад
Learn how to construct calldata by hand, as well as how to initiate contract calls using this data - including interactions between contracts themselves. Mastery of this skill will allow you to call any contract on the blockchain with any calldata you want. This video is a workshop addition to my previous video on ABI encoding and decoding: ruclips.net/video/upVloLUw5Z0/видео.html EPISODE LINKS...
Mastering ABI Encoding for Solidity and Ethereum (Full Examples Included)
Просмотров 2,8 тыс.Год назад
To become a good blockchain developer, you must understand ABI (contract application binary interface) encoding and decoding because it’s how all smart contracts communicate with each other. It’s a fundamentally important topic for Ethereum and Solidity developers. In this video, learn to recall, decipher, and construct your own call data by learning about ABI encoding and decoding. EPISODE LIN...
A Complete Guide to Contract Creation on Blockchain & How To Not Get Hacked
Просмотров 748Год назад
Gain a firm understanding and have a strong visual of what happens during a contract creation on the blockchain. What does the constructor do? Why can we circumvent certain contract checks? And, how can we hack other contracts so we can become better, safer, and more knowledgeable developers? EPISODE LINKS: RareSkills Bootcamp: www.rareskills.io/ Solidity By Example: solidity-by-example.org/ Jo...
Understanding Dynamic Arrays and Memory in Solidity
Просмотров 2,2 тыс.Год назад
Understanding how dynamic arrays work in storage and how memory is laid out in Solidity will help you write better and more secure code. In this video, I’ll walk you through both of these topics and provide coding examples that’ll help you become a more proficient coder. EPISODE LINKS: Dynamic Array Storage Code: github.com/jesperkristensen58/solidity_training_cryptojesperk/blob/main/3_dynamic_...
Dangling Reference to Storage Array Elements | Advanced Solidity Storage
Просмотров 2,4 тыс.Год назад
Dangling references to storage array elements is an advanced storage concept; however, it’s important to understand because it can cause unexpected behavior in your code and lead to some serious bugs. Understanding the concept of dangling references will also help you become a better defensive programmer and help you write safe and secure code. EPISODE LINKS: Solidity Documentation: docs.solidi...
Implementing the EIP-712 Standard
Просмотров 3,3 тыс.Год назад
The EIP-712 standard allows you to present easy-to-understand content in MetaMask to users and ensure that the data was signed by the user. It is a procedure for hashing and signing of typed structured data as opposed to just raw bytestrings. In this video, I’ll walk you through the code, deploying a contract, and sending the transaction with the EIP-712. EPISODE LINKS: Code Repo: github.com/je...
Mastering Solidity Storage: Essential Mapping Secrets You Need to Know!
Просмотров 3,9 тыс.Год назад
Understanding how storage works in Solidity for mappings is crucial for a number of reasons including security, writing better code, and writing more gas efficient code. Learn the basics and more advanced features here so you can gain a firmer grasp on how storage in Solidity works. CHAPTERS 0:00 | Intro on Solidity Storage 1:43 | Part 1: Simple Example 3:59 | Putting Values in Buckets 5:00 | E...
Uncut Gem: Mastering the Diamond Proxy Pattern [Advanced Proxy Pattern]
Просмотров 4,6 тыс.Год назад
Learn about diamond proxy patterns, a general yet complex proxy pattern. I’ll share with you what you need to get started and dive a bit in depth on some more advanced features. CHAPTERS 0:00 | Intro 0:49 | What Are Diamond Proxy Patterns? 1:40 | The EIP-2535 2:19 | Walking Through An Example 3:37 | Analogy Explained: Why is it called a Diamond? 5:09 | Keys To The Diamond Contract 5:30 | Anatom...
Advanced Proxy Pattern: Metamorphic Contracts To Solve a Rareskills.io Challenge
Просмотров 1,9 тыс.Год назад
In this video, I’ll walk you through a Rareskills.io Challenge and show you how I used a Metamorphic Contract to beat the challenge. Scroll down the description to check out my code repo and for other links. CHAPTERS 0:00 Intro 2:00 Getting Started 2:57 What’s this about? 6:03 Metamorphic Proxy Pattern 7:10 Outline Overview 9:40 Diving Into The Metamorphic Contract Details 13:58 Code Overview 1...
Learn to Code ERC1155 in Pure Yul
Просмотров 3 тыс.Год назад
In this video, I teach you about how to code an ERC1155 in pure Yul. Check out my code repo and follow along as I go through my process. 0:00 Intro 1:22 First Thing 4:44 Avoid Surprises: Check Compiling 6:42 What Does The Compiler Do? 9:01 Test Deployment 11:43 Test Code 13:49 Dive Into The Code 14:58 Define Owner Slots 17:16 Deploy Runtime Code 21:20 Memory Pointer Helper Functions 23:36 Contr...
Advanced Solidity: How to Program in Pure Yul
Просмотров 7 тыс.2 года назад
Advanced Solidity: How to Program in Pure Yul
How I Hacked a Live Smart Contract & How to Get Started in White Hat Hacking
Просмотров 13 тыс.2 года назад
How I Hacked a Live Smart Contract & How to Get Started in White Hat Hacking
Advanced Solidity: Master the Ethereum Virtual Machine by Becoming an Expert on its Opcodes
Просмотров 4,3 тыс.2 года назад
Advanced Solidity: Master the Ethereum Virtual Machine by Becoming an Expert on its Opcodes
Advanced Solidity: Manipulate Data Types at the Bit Level and Pack Data More Efficiently
Просмотров 3,3 тыс.2 года назад
Advanced Solidity: Manipulate Data Types at the Bit Level and Pack Data More Efficiently
Deploy your own NFT Collection FROM SCRATCH with IPFS
Просмотров 2,7 тыс.2 года назад
Deploy your own NFT Collection FROM SCRATCH with IPFS
How to Get Started with Solidity Hacking with a Capture The Ether Challenge
Просмотров 3,7 тыс.2 года назад
How to Get Started with Solidity Hacking with a Capture The Ether Challenge
How do you Pull Data From the Blockchain with Super Short Cuts
Просмотров 3,5 тыс.2 года назад
How do you Pull Data From the Blockchain with Super Short Cuts
How to Create an ERC1155-based dApp | Part 2 of 2
Просмотров 2,8 тыс.2 года назад
How to Create an ERC1155-based dApp | Part 2 of 2
How to Create an ERC1155-based dApp | Part 1 of 2
Просмотров 3,6 тыс.2 года назад
How to Create an ERC1155-based dApp | Part 1 of 2
How to Test your Solidity Smart Contracts
Просмотров 5 тыс.2 года назад
How to Test your Solidity Smart Contracts