Profile Photo

CryptoSloOffline

  • CryptoSlo
A Simple Guide on Creating Ethereum Wallets using Python

A Simple Guide on Creating Ethereum Wallets using Python

crypto so with more crypto gains what's going on guys so a little geek fest today and that is how to use python to generate ethereum addresses on the web three now if you google this stuff a lot of people make it super complicated i'm going to make it as simple and clean as possible and direct to the point so you need a couple things you need to download anaconda which is a python version and then you want to install the jupyter notebook and then you want to install the web three dot pi library which connects to the ethereum blockchain so it's really not that hard download the anaconda which is basically your base python install okay it's about 500 megs now from a security standpoint how secure is the theorem address that is generated by this um i think it's pretty secure you know ultimately the best way to generate a theorem address is always offline downloading github you know stuff but again this is just me messing around with web3 which i think is pretty cool so i've always wanted to learn solidity um just moving into the future i think it's something in my tool bag that i should have and you know this is one of the steps kind of in that direction so downloaded it for windows and i'm just going to take the all the standard stuff i'm not going to select this now i know more advanced installations they will tell you to use virtual environments but that's more for an experienced user down the road i mean i'm trying to keep this as simple as possible now i did notice this package kind of grinds a little bit at the end but you just have to be patient all right that took about five or six minutes so be very patient with this installation package next and we're going to not do the tutorial all right anaconda is installed so next we need to start running anaconda so type in anna command prompt hit enter and this basically pulls up a command line version of anaconda python so anaconda is just a product name for the package of python now you could install python by itself but it may not be as user friendly so the next step is installing the jupiter jupiter notebook the jupiter notebook allows you to run code test code save code in a nice friendly environment and here's where it gets really slick it uses technology called pip which automatically goes out and installs these packages so you simply paste in pip install notebook hit enter and magic it goes out and slurps in the jupiter notebook next we're going to install the web3.pi which is what gives you the magic of connecting to the blockchain hit enter like i said this is all very slick and a lot of people get into too much detail and the knowledge isn't practical and it just it's super confusing like i said i want this to be the most direct way to get to the goods of generating and theorem address now why would you want to do this maybe you just want a fresh wallet maybe you don't trust your meta mask maybe just want to experiment whatever maybe you want to generate a bunch of addresses this makes it very easy to do all right that's done so we can go ahead and minimize that and then we're gonna fire up jupiter now again don't get confused there's three parts to this installing anaconda which is actual python installing jupyter notebook which is your interface and installing this library which allows you to connect to the blockchain so we fire this up jupiter notebook and then it will create a web friendly interface um notebook we're gonna go ahead and do this in chrome all right so now we have this interface it may look a little um intimidating but really it's not so first thing we're going to do is we're going to create a new folder okay untitled folder we'll click on that we'll rename it and we'll call it web 3. enter all right double click now what we need to do is think of this as similar to microsoft um onenote or whatever it's it's a notebook that's holding all your files so we're going to hit new python3 so this opens script and then we're going to call this make wallet okay enter all right now all we do is paste in the little script okay and then we hit run booney boom uh that's it that's all there is to it i just generated a nice fresh wallet using python in the web three library and then basically you would just import this private key into your meta mask as usual and if i wanted to repeat this again i could just click on this hit run again and let's see here and then it will just keep changing i just keep generating now you could create a little loop on this or whatever if you want to generate 50 and take whatever you want to do but when you're done now personally if i generated this i probably wouldn't save this i would record this somewhere safe and then i would delete it so i'm just click i'm clicking on it and then i basically will just clear it out by deleting the cell okay and then i could save that code for later if i needed to create another wallet but then i would just generate go down to the next one i don't necessarily have to run it see that's the beauty of jupiter is i can run just this so whatever little module you're clicked on it will run that and then it makes your you know makes your code so there's that edit delete hope you enjoyed today's video like and subscribe as always this is crypto so if you're not talking gains then we're not talking [Music] [Music] you

Read More
Please wait...
User Balance 310 / coins
Crypto Newbie

User Badges

Media

Top