Reanblock
Reanblock
  • Видео 58
  • Просмотров 237 136
Hashing in Blockchains (SHA256. keccak256)
This video explains hashing in blockchains and focuses on the Ethereum blockchin use of keccak256 hash function. We explain what hashing is and what it is used for and then dive into some tools and examples!
Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;)
BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2
ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2
Many thanks everyone and I appreciate your support in any way!
Просмотров: 175

Видео

Blockchain Basics Introduction
Просмотров 1095 месяцев назад
In this video I walk through the basics of a blockchain, what it is at a high level and how it operates. This is the first in a series of video tutorials that will explore the concepts of Blockchain technology! Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks ...
Rust CosmWasm smart contracts - JSON Schema generator and best practices
Просмотров 1177 месяцев назад
In this tutorial, we will learn how to develop a Rust binary to generate and export a JSON schema file for our CosmWasm smart contract as well as some other best practices to follow. Enjoy! Useful links: CosmWasm book: book.cosmwasm.com/index.html cw-template; github.com/CosmWasm/cw-template cw-optimizoor: github.com/mandrean/cw-optimizoor Awesome CosmWasm: github.com/CosmWasm/awesome-cosmwasm ...
Rust CosmWasm - managing funds and transfer coins in smart contracts
Просмотров 1627 месяцев назад
In this tutorial, we will learn how to manage funds and transfer value in smart contracts. Useful links: CosmWasm book: book.cosmwasm.com/index.html cw-template; github.com/CosmWasm/cw-template cw-optimizoor: github.com/mandrean/cw-optimizoor Awesome CosmWasm: github.com/CosmWasm/awesome-cosmwasm wasmd: github.com/CosmWasm/wasmd If you like this video please like and subscribe. I'll be producin...
Rust CosmWasm State Management and Multitest
Просмотров 537 месяцев назад
In this tutorial, we will learn how to use multitest and manage state in Rust CosmWasm smart contracts. Useful links: CosmWasm book: book.cosmwasm.com/index.html cw-template; github.com/CosmWasm/cw-template cw-optimizoor: github.com/mandrean/cw-optimizoor Awesome CosmWasm: github.com/CosmWasm/awesome-cosmwasm wasmd: github.com/CosmWasm/wasmd If you like this video please like and subscribe. I'l...
Rust CosmWasm Query Entry Points Tutorial
Просмотров 867 месяцев назад
In this tutorial, we will learn how to build and test a new query entry point in our Rust CosmWasm smart contract. Useful links: CosmWasm book: book.cosmwasm.com/index.html cw-template; github.com/CosmWasm/cw-template cw-optimizoor: github.com/mandrean/cw-optimizoor Awesome CosmWasm: github.com/CosmWasm/awesome-cosmwasm wasmd: github.com/CosmWasm/wasmd If you like this video please like and sub...
Rust CosmWasm Tutorial Videos - Introduction to CosmWasm
Просмотров 2317 месяцев назад
In this tutorial, we run though the basics of setting up a new CosmWasm Rust based smart contract! We will also learn about CosmWasm smart contract entry points. Essentially we are going to manually build out, step by step, what the cw-template provides. By building this foundation manually we are able to get a deeper understanding of the foundations of Rust based CosmWasm smart contracts. Usef...
Rust WebAssembly WASM Tutorial - build a WASM Module using Rust
Просмотров 5637 месяцев назад
Learn to build a basic Rust WASM module using wasm-pack, cargo, Rust and Javascript. This tutorial is very basic and is intended only to get you started with Rust based WASM modules. It is an intermediary step between learning Rust programming (see earlier videos) and learning CosmWasm (see next videos in series). This tutorial ( your own motivation to dive deeper, learn Rust programming, WASM ...
Rust Programming Tutorial Videos - build a cli grep utility!
Просмотров 1357 месяцев назад
In this video we cover how to run though some of the core foundational concepts in Rust to build a new Cli tool. Some of the concepts that are used in this tutorial are: functions, ownership, structs, enums and pattern matching, crates, collections, error handling, conditions & loops, generic types, traits and unit tests! There is a lot to cover so enjoy the ride! 00:00:37 Introduction 00:03:57...
Rust Programming Tutorial Videos - Introduction to Rust
Просмотров 2017 месяцев назад
Rust Programming Tutorial - Introduction to Rust - installation, hello world and build a cli game! In this video we cover how to install Rust, how to use Cargo, how to create and compile a new Rust program and how to build a simple guessing game cli application. 00:01:04 Introduction 00:02:00 Installation 00:05:00 Hello World! 00:08:30 Hello Cargo! 00:14:50 Guessing game - Rust cli program Usef...
Yul Fallback Function Interface
Просмотров 1178 месяцев назад
Tutorial which outlines a contract that is almost entirely written in Yul and is interacted with via an interface contract that calls into the fallback function (written in Yul). Useful Links: github.com/reanblock/screencasts/blob/main/10-introduction-to-yul/ Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC...
Transfer value to another account using Yul
Просмотров 1138 месяцев назад
Tutorial explaining how to send value from a contract to an EOA using both Solidity and Yul. Enjoy! Useful Links: github.com/reanblock/screencasts/blob/main/10-introduction-to-yul/ Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks everyone and I appreciate your...
Calling other contracts using staticcall in Yul
Просмотров 2078 месяцев назад
Tutorial explaining calldata and how to call external contracts using staticcall in Yul. Useful Links: github.com/reanblock/screencasts/blob/main/10-introduction-to-yul/ Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks everyone and I appreciate your support in...
Logging events in Yul
Просмотров 1308 месяцев назад
Tutorial example showing how to use Yul to log events! You can think of this as a 'Yul Log' :) Useful Links: github.com/reanblock/screencasts/blob/main/10-introduction-to-yul/ Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks everyone and I appreciate your supp...
Using return, revert & keccak256 in Yul
Просмотров 21410 месяцев назад
Tutorial all about using return, revert & keccak256 statements in Yul Useful Links: github.com/reanblock/screencasts/blob/main/10-introduction-to-yul/ Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks everyone and I appreciate your support in any way!
ABI Encoding in memory using Yul
Просмотров 28010 месяцев назад
ABI Encoding in memory using Yul
Basics of working with the free memory pointer via Yul
Просмотров 23510 месяцев назад
Basics of working with the free memory pointer via Yul
Working with memory in Yul (mstore & mstore8)
Просмотров 22410 месяцев назад
Working with memory in Yul (mstore & mstore8)
Working with mappings in Yul
Просмотров 23710 месяцев назад
Working with mappings in Yul
Working with arrays in Yul
Просмотров 25711 месяцев назад
Working with arrays in Yul
Write to a packed storage variable in Yul
Просмотров 26111 месяцев назад
Write to a packed storage variable in Yul
Managing storage slots and data using Yul Assembly in a Solidity Smart Contract
Просмотров 971Год назад
Managing storage slots and data using Yul Assembly in a Solidity Smart Contract
Solidity Assembly Programming in Yul
Просмотров 1,8 тыс.Год назад
Solidity Assembly Programming in Yul
Indexing Smart Contract Events using The Graph Liquity Subgraph DeFi Protocol
Просмотров 307Год назад
Indexing Smart Contract Events using The Graph Liquity Subgraph DeFi Protocol
Deploy a dApp to Point Network Alpha Testnet
Просмотров 2022 года назад
Deploy a dApp to Point Network Alpha Testnet
Build and Deploy Decentralized Apps in Point Network
Просмотров 3322 года назад
Build and Deploy Decentralized Apps in Point Network
Liquity Price Feed Oracle design using Chainlink and Tellor
Просмотров 4242 года назад
Liquity Price Feed Oracle design using Chainlink and Tellor
Stability Pools & Liquidation process in the Liquity DeFi Protocol
Просмотров 1 тыс.2 года назад
Stability Pools & Liquidation process in the Liquity DeFi Protocol
DeFi StableCoin Borrowing Platform with 0% interest - a technical dive into Liquity Protocol!
Просмотров 7092 года назад
DeFi StableCoin Borrowing Platform with 0% interest - a technical dive into Liquity Protocol!
Hashing in the Ethereum Blockchain
Просмотров 7342 года назад
Hashing in the Ethereum Blockchain

Комментарии

  • @krishnavkanoi8026
    @krishnavkanoi8026 3 месяца назад

    can you please tell if this smart contract can transfer coins from one user to another directly using a blockchain

  • @sanjaysen-e6l
    @sanjaysen-e6l 3 месяца назад

    we will multiply by 29byte to get complete 256-bit to store vale at certain postion?

  • @MrCoreyTexas
    @MrCoreyTexas 3 месяца назад

    You ought to define terms such as ultima ratio. It means "as a last resort". You know what those terms mean, but the uninitiated do not.

  • @MrCoreyTexas
    @MrCoreyTexas 3 месяца назад

    only 1/3 of the TVL locked up as of today...

  • @emanuelecolonnelli4728
    @emanuelecolonnelli4728 4 месяца назад

    Cool! Great content

  • @emanuelecolonnelli4728
    @emanuelecolonnelli4728 4 месяца назад

    You deserve a comment and a great thank you for your great teaching skills!

  • @smnomad9276
    @smnomad9276 5 месяцев назад

    Elite content as always!

  • @werner4081
    @werner4081 5 месяцев назад

    🏃 "PromoSM"

  • @WorldsBiggest...
    @WorldsBiggest... 5 месяцев назад

    Always read any of these codes you find on youtube. If it has import IPFS. Or has a return to 0x....(wallet addess) beware you it may not even be annarbitrage contract their showing you how to build but a contract that your loading up with "gas" fees when in reality you would never need .2 bnb for gas on smartchain their really having you send your money to a contract that forwards your money to their wallet. This guy obviously has no clue what hes talking about and I wouldnt even attempt building anything this guy shows me.

  • @Yuro333
    @Yuro333 5 месяцев назад

    He's my Blockchain Guru

  • @BTQZzVibes
    @BTQZzVibes 5 месяцев назад

    more lesson please , Thank you

  • @ashraile
    @ashraile 5 месяцев назад

    Really well done video.

  • @gideonokorie591
    @gideonokorie591 5 месяцев назад

    Pls can you teach how to install the cosmwasm from scratch?

  • @smnomad9276
    @smnomad9276 5 месяцев назад

    That was insanely well explained! Your videos should be played during school classes covering blockchain technology.

    • @Reanblock
      @Reanblock 5 месяцев назад

      Thank you so much!

  • @QuickTs
    @QuickTs 5 месяцев назад

    Is it possible to call an API on off chain backend once the funds are transferred successfully? For example, the user buys an in-app purchase by sending some funds to the admin using this smart contract and passing their id and other data as input parameters. The contract then informs off chain backend via API call of the transaction. Or is there a better secure alternative?

    • @Reanblock
      @Reanblock 5 месяцев назад

      Thank you for your question. Yes, off chain integration is possible by monitoring on chain events and responding to them.

  • @doanphuc68
    @doanphuc68 6 месяцев назад

    $:docker compose run --rm freqtrade new-config --config user_data/config.json $:freqtrade trade --config config_examples/config_freqai.example.json --strategy FreqaiExampleStrategy --freqaimodel LightGBMRegressor --strategy-path freqtrade/templates I run these 2 commands on Docker but don't know how they are related to each other. Please explain to me how freqtradeAI impacts the main stream. pls

  • @DigitalKelvin
    @DigitalKelvin 6 месяцев назад

    Took me so long to find this info 🤦🏿‍♂️🤦🏿‍♂️

  • @actech9208
    @actech9208 6 месяцев назад

    lol hardest thing to watch but hilarious

  • @AnjuBalakrishnan-z5m
    @AnjuBalakrishnan-z5m 6 месяцев назад

    Im sorry, you have explained it clearly in the video. I posted the comment before watching till the end. Its clarified now. Thanks!

  • @patricksfeir6947
    @patricksfeir6947 6 месяцев назад

    Amazing video, thank you.

  • @AnjuBalakrishnan-z5m
    @AnjuBalakrishnan-z5m 6 месяцев назад

    Very good content.. I got a doubt here. 0x2 is one byte, correct? I'm debugging these mstore operations as follows: mstore(0x0, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) mstore(0x0, 0x2) mstore(0x1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) And the memory state is as below. Why did it clear out the one byte 0x2 stored at 0x0?

    • @Reanblock
      @Reanblock 6 месяцев назад

      0x2 is a 'nibble' (4 bits) also known as a 'hex digit'.

    • @AnjuBalakrishnan-z5m
      @AnjuBalakrishnan-z5m 6 месяцев назад

      @@Reanblock Thanks for the quick reply! what I meant to ask was about mstore operation putting leading zeros and so the nibble 0x2 gets stored at the last byte. And so the third mstore clears out 0x2 at the last byte. I had posted the doubt before watching till the end. You have nicely explained it at the end.

  • @NawaqavouRugbyAcademy
    @NawaqavouRugbyAcademy 7 месяцев назад

    @NawaqavouRugbyAcademy 0 seconds ago I am using FREQ trade and my first month, 60 trade and then 2 trades got force no trade to bring to 60/2, and that 2 beging force not to trade leaves me with 2 red or no profit trade and it seems they have been blocking my later trades that are doing well and could not be loaded to the list complete trade, can you advise what has happened or what can I do to unglog it so it can keep ticking over to complete trade list, as it has been blocked to receive up trade for the last 3 days. thank you.

  • @chrissin-m4d
    @chrissin-m4d 7 месяцев назад

    great ... do more tutorials on this

    • @Reanblock
      @Reanblock 7 месяцев назад

      Thank you sir!

  • @Devrony
    @Devrony 7 месяцев назад

    Careful! People need to understand the “redemption” process in troves which can happen anytime by another user if not monitoring your CR %. This happens regardless if your trove is above 110%. It has nothing to do with automated liquidation. Basically if you are among the lowest collateralized ratio in the troves list someone else can payoff your loan (partial or fully). You’re not loosing $ in terms of value. But you basically sold your ETH at current market price. So if your plan was to take a loan (interest free) to perhaps payoff a high interest rate credit card or car loan for example, and don’t want to sell your ETH so you can wait for price to increase (i.e. over next 6 months or) if you think in bull market or perhaps buy more ETH if prices fall and bump up your collateralized ratio. You have to manage your CR daily and your CR is actually much more than 150% to be safe. It can be over 390% to be safe. Check out Dune Analytics liquify redemption/collateral site to see what the “safe level” is. dune.com/Move37/liquity-redemptions-collateral-level-tracker. It sucks there is no way to have a 24 hour window before someone can redeem against you (i.e. through smart contract logic) where someone starts a redemption against you but you have time to bump up your ratio to cancel it. Having said that, perhaps if your savvy you can use GraphLinq.io protocol to automate your ratio bumps daily to solve this to make sure your not at the top of risky troves.

  • @smnomad9276
    @smnomad9276 8 месяцев назад

    I discovered your channel back in early 2021 during the last bullrun, I was trying to learn to code to better understand smart contracts and avoid honeypots and scams. I watched all your videos and learned a ton! Your channel is criminally underrated and I just want you to know that your content is top notch and you're doing an amazing job! Big love from Morocco brother!

    • @Reanblock
      @Reanblock 8 месяцев назад

      Thank you so much! Appreciate your kind comment!

  • @merv893
    @merv893 8 месяцев назад

    This is amazing, why don’t people use Yul more? Thanks for video very relaxing voice.

    • @Reanblock
      @Reanblock 8 месяцев назад

      Probably because Solidity is easier to understand - but, agreed, Yul is awesome and does the job more efficiently than Solidity!

  • @Martin-db4pu
    @Martin-db4pu 8 месяцев назад

    Promo'SM

  • @Paulforex1
    @Paulforex1 8 месяцев назад

    Golden content, thanks. I just followed you on twitter.

    • @Reanblock
      @Reanblock 8 месяцев назад

      Thanks for following! Appreciated!

  • @Paulforex1
    @Paulforex1 8 месяцев назад

    I really like your ability to simplify this concepts. You made it easy for the to understand. I just followed you on twitter.

    • @Reanblock
      @Reanblock 8 месяцев назад

      Thank you so much!

  • @jinnzhu768
    @jinnzhu768 8 месяцев назад

    Thanks for the nice lecture, would you please create a yul playlist?

    • @Reanblock
      @Reanblock 8 месяцев назад

      Sure, I will, good idea!

  • @Silvertestrun
    @Silvertestrun 10 месяцев назад

    Thank you!

  • @RiteshVerma-c3t
    @RiteshVerma-c3t 11 месяцев назад

    How can we do deep copy of array in Yul ? (Not just the pointer )

    • @Reanblock
      @Reanblock 11 месяцев назад

      Assuming the array is already in memory then use mload to copy the entire array contents to the stack and then mstore that value starting at the current free memory pointer (remember to update the free memory pointer at the end). Its worth testing this out using Remix, of course!

  • @RiteshVerma-c3t
    @RiteshVerma-c3t 11 месяцев назад

    Your video has helped me , Thanks Would be great if you could help in this task I am trying to solve some gas optimization quests on node guardians... Task : implement a simple function copying a bytes memory array in most gas efficient way using inline assembly here is my code, which is not working and not efficient // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.19; abstract contract Challenge { /** * @notice Returns a copy of the given array in a gas efficient way. * @dev This contract will be called internally. * @param array The array to copy. * @return copy The copied array. */ function copyArray(bytes memory array) internal pure returns (bytes memory copy) { assembly { let length := mload(array) copy := mload(0x40) mstore(0x40, add(copy, add(32, mul(length, 32)))) mstore(copy, length) if gt(length, 0) { let src := add(array, 32) let dst := add(copy, 32) let end := add(src, mul(length, 32)) for { } lt(src, end) { } { mstore(dst, mload(src)) src := add(src, 32) dst := add(dst, 32) } } } //return copy; } }

    • @Reanblock
      @Reanblock 11 месяцев назад

      Many thanks for your comment.. I will be producing some video tutorials on smart contract gas efficiency in the near future.

  • @WinPoss
    @WinPoss Год назад

    Thank you to the blogger for sharing. Your videos have taught me how to use Freqtrade and develop my own strategies. The blogger's Freqtrade series of videos are really great. Also, may I ask a question: How can I view the report of a live trading strategy? Similar to the report generated during backtesting. Thank you.

    • @Reanblock
      @Reanblock Год назад

      Thank you for your kind words! I suggest checking the Freqtrade docs for diving deeper!

  • @defikanth
    @defikanth Год назад

    must watch video and to practice for all solidity devs. thanks for this video

  • @thecalgarians4597
    @thecalgarians4597 Год назад

    You nailed it man, specially the Bitwise shifting and masking part of the video.

  • @TheAuthenticBrothers
    @TheAuthenticBrothers Год назад

    Really good explained! Thanks for your time!

  • @israeloluwafisayomishittu35
    @israeloluwafisayomishittu35 Год назад

    👏 thank you sir

  • @polyglotomathotheophilos1941

    This is really good information, but I have very hard time understanding what you are saying. I found myself going back multiple times because I couldn't understand the words you are saying. Could you try pronouncing vowels a a bit stronger?

  • @merv893
    @merv893 Год назад

    I used to hate going into assembly at school, this assembly is much better.

  • @0xsuperman
    @0xsuperman Год назад

    I think it's mathematically improbable, but since the private key is just a large random integer, what happens when someone generates the same private which has been previously generated and has some funds in it? If the latter person immediately gains access to the existing public addresses associated with the private key as well? Or will the last person not be able to gain access since his private key will be associated with a different set of public addresses?

    • @Reanblock
      @Reanblock Год назад

      It is technically possible but mathematically improbable to generate the same private key twice. Hypothetically, if you did generate a private key that was already being used by someone else then when you add that to your wallet you will have access to the funds belonging to that wallet (obviously not ideal which is why it is unlikely to ever happen!).

  • @olter1000
    @olter1000 Год назад

    Extremely useful. Thank you so much! Really helped me to understand better the gas mechanism.

  • @TyronePost
    @TyronePost Год назад

    This video is a few days away from 3 years old, and currently only has 2974 views! 🤯

  • @Ilya-di4ok
    @Ilya-di4ok Год назад

    Is it possible to enter with open price as backtesting doing? Because for me it's enter on next candle with the same enter price as it was triggered.

  • @Vey_Is_Random
    @Vey_Is_Random Год назад

    MUCH better than some of the tutorials than I've seen from the more "popular" Freqtrade Channels. Please do moar. Thank you.

    • @Reanblock
      @Reanblock Год назад

      Thank you so much John!

  •  Год назад

    Thank you

  • @po9968
    @po9968 Год назад

    So educational! Your deep presentation is clever ! Thanks 🙏

  • @amoamasamatitagain1715
    @amoamasamatitagain1715 Год назад

    You state that block.timestamp gives the EVM execution time. Are you sure ? I thought that block.timestamp returned the time when the block was mined. It has nothing to do with the current execution time. Please check and confirm. Thank you.

    • @Reanblock
      @Reanblock Год назад

      Thank you for your comment. For the purpose of testing in this screencast the block timestamp can be considered the same thing - meaning it is the time the block was mined which I consider to be also the time that the function was processed.

  • @fud_de_dieu
    @fud_de_dieu Год назад

    Perfect video, thank you