Skip to content
by Unity Nodes
NEAR DevHub

Generate Ethereum Addresses with KDF Script: A Complete Guide

about 1:50 long

Nothing is loaded from YouTube until you press play, and then without tracking cookies.

About this video

Unlock the power of our KDF script to effortlessly generate Ethereum addresses offline. Discover how to create derived accounts and streamline your transaction processes with simple, effective coding strategies tailored for your blockchain projects. #Ethereum #BlockchainDevelopment #KDFScript #CryptoCoding #AddressGeneration #DerivedAccounts #SmartContracts #CryptoDev #BlockchainTutorial #Web3

Transcript

376 words

Captions as YouTube publishes them, usually machine-generated, so product and people names can be misheard.

  1. 0:00

    like how do I actually generate that well in um in this repo and in another example repo I'll talk about in a sec we have um a file called kdf um this there's a lot of there's a lot of code going on here but basically um I've tried to simplify it as much as possible uh by boiling everything down to a generate address uh you know method here where or function where you can just say Okay um I've got the uh there's a few

  2. 0:32

    kind of extra bits like I've got the public key of the chain signatures contract that's just kind of a requirement it's really easy to get that I've got the account ID of the near account I'm calling from so that was the account ID we saw before the near account ID I've got the path and then you just tell it which chain you want so you just say I want an ethereum address and and this script will go ahead and

  3. 0:55

    it'll just generate an ethereum address for you and then uh at the end it'll it'll just return that information it'll return the address and actually the public key as well so um basically was a long- winded way of saying um you know how do I get my derived account kind of offline or how do I actually get DED account before I call the chain Signature Sign method with my with my

  4. 1:20

    hash like and and the reason you'd want to do that is you'd want to fund typically you'd want to fund that derived account or you'd want to know you know you'd want to know which derived account is going to actually uh be called on to to execute that final sign transaction so the kdf script is what you can do you can call that offline you can generate uh you can generate as many derived accounts as you want um and then it's just it's really comes down to what your what your

  5. 1:50

    application is what your protocol is and what you're planning to do with those derived accounts so uh yeah so the kdf script uh is is basically just like deterministic way to generate these derived accounts