ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

ERC-4337 | How to make a smart contract account and send your first userOperations

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 เม.ย. 2023
  • In this video, Blocknative PM and 4337 Researcher Blair Marshall will walk you through how to:
    -create a smart contract account
    -make your first ERC-4337 transaction by sending userOperations to the Blocknative bundler
    -monitor your transaction in real-time
    -conduct a Uniswap approval transaction and token swap in the same userOperation
    Important Links:
    - Blocknative Bundler Docs: docs.blocknati...
    - Blocknative Mempool Explorer (Monitor EntryPoint Contract): explorer.block...
    - Blocknative UserOps Explorer: 4337.blocknati...
    - StackUp Quickstart Docs: docs.stackup.s...

ความคิดเห็น • 21

  • @wnmarc
    @wnmarc ปีที่แล้ว +7

    Finally good video quality, thank you!

  • @ranjeetvhanmane5694
    @ranjeetvhanmane5694 6 หลายเดือนก่อน

    #0xgas #AccountAbstraction the 0xGasless SDK marks a significant step forward in making blockchain technology more accessible and user-friendly

  • @pengfawu1805
    @pengfawu1805 11 หลายเดือนก่อน

    Your sounds really let me think of soul goodman!

  • @SeanOConnor0
    @SeanOConnor0 ปีที่แล้ว +4

    Finally, ethereum's ERC-4337 is accesible

  • @maniparitala3963
    @maniparitala3963 ปีที่แล้ว +1

    In the scenario where we have created a smart contract account requiring a payment of a certain amount of GAS, the responsibility of providing the GAS falls upon the paymaster???

  • @thefatemokid
    @thefatemokid 5 หลายเดือนก่อน

    in the uniswap example, the approve is not necessary. you are swapping ETH as input

  • @joules8608
    @joules8608 ปีที่แล้ว +3

    🙌

  • @SandeepMishra-ik1nf
    @SandeepMishra-ik1nf ปีที่แล้ว +1

    How passing private key to user op is safe?

  • @beyonders.oficial
    @beyonders.oficial ปีที่แล้ว

    Hey great video! But I'd like to know how can I change the Smart Contract Account contract? I want to change the validateUserOp method. Don't wanna use the SimpleAccount contract.

  • @runsteeprunfast
    @runsteeprunfast 6 หลายเดือนก่อน

    Diagram of what is happening and why plz

  • @thebatmakescomics
    @thebatmakescomics ปีที่แล้ว +1

    How do you deploy a smart contract with userOps? when I place a small contract bytecode in the data param for simpleAccount.execute it bombs out.

  • @justkaz7104
    @justkaz7104 11 หลายเดือนก่อน

    109

  • @justin0613ify
    @justin0613ify ปีที่แล้ว

    I am getting error {"error":{"code":-32602,"data":"preVerificationGas: below expected gas of 48152","message":"preVerificationGas: below expected gas of 48152"},"id":43,"jsonrpc":"2.0"}

    • @angphamminh6247
      @angphamminh6247 ปีที่แล้ว

      hi, do you solve this error ? Can you help me ?

    • @0xleanlp
      @0xleanlp ปีที่แล้ว

      ​@@angphamminh6247 this error referent invalid method parameters, may be build wront a call data. :)

  • @maniparitala3963
    @maniparitala3963 ปีที่แล้ว

    am getting error- "code\":-32602,\"data\":\"preVerificationGas: below expected gas of 48188\",\"message\":\"preVerificationGas: below expected gas of 48188\"

    • @0xleanlp
      @0xleanlp ปีที่แล้ว

      this error referent invalid method parameters, may be build wront a call data. :)

  • @samiansari9387
    @samiansari9387 ปีที่แล้ว

    I am getting error- "code\":-32602,\"data\":\"preVerificationGas: below expected gas of 48188\",\"message\":\"preVerificationGas: below expected gas of 48188\"

    • @blairlmarshall
      @blairlmarshall ปีที่แล้ว

      Hey there - I had this problem once and I believe its a slight issue with the @account-abstraction sdk library. One hacky solution is to go to node_modules/@account-abstraction/sdk/dist/calPreVerificationGas.js and in the function calcVerficationGas add in an extra 10000 to the ret value. Something like:
      Math.round(callDataCost +
      ov.fixed / ov.bundleSize +
      ov.perUserOp +
      ov.perUserOpWord * lengthInWord + 10000);
      I am not sure exactly what's wrong with this function, but the above worked for me to get it working. Let me know if that works for you!

    • @angphamminh6247
      @angphamminh6247 ปีที่แล้ว

      hi, do you solve this error ? Can you help me ?