The script allows you to create ArgentX wallets based on ready-made seed phrases, as well as do activation of these wallets.
Why do you need this script?
- At the moment there is no way to automatically generate keys for wallets in the Starknet network. That's why we use Ethereum wallet Seed-phrases to create Starknet wallets for ArgentX using the script.
- The peculiarity of wallets in the Starknet network is their obligatory activate. To do this automatically and at once for a large number of wallets the script was created.
π Software Guide for Starknet π
Software for StarknetHow to generate seed-phrases to create ArgentX wallets
To quickly create seed phrases for wallets, we'll use the Cointool service.
For ArgentX wallet, we use the seed phrases created for the Ethereum network.
Learn more about how to quickly create wallets π
Guide - "How to generate 100 wallets or more, automatically in 2 minutesβInstructions for setting up the script.
Setting up the environment
- Download the archive with the script and unzip it π https://t.me/DEGENSOFT_ENG/7
- Set up the Python environment according to the guide π
- Download Chrome Driver for the current version of our Chrome browser. To find out the current version of Chrome, click the three dots in the upper right corner of the browser β help β about Google Chrome.
Then go to https://chromedriver.chromium.org/downloads and download the drivers for our version of the browser.
Download the version for our operating system. The example is the Windows version.
Unpack the downloaded archive into the drivers folder of our script.
- Open the command line. Use the command line to navigate to the folder with our script.
cd (path to the directory with the folder)
- Unfolding the environment. The environment is unfolded only once, for further work with the script you do not need to do this.
py -m venv venv
After that, a venv folder should be created in our script folder.
- Now activate our environment with the following command:
.\venv\Scripts\activate
- Install the necessary packages:
py -m pip install -r requirements.txt
The packages necessary for the script will be installed.
We have set up our environment and are now ready to work with the script β .
Creating wallets
- Import the seed-phrases created with Cointool into the seed.txt from the script folder.
- At the command line, enter the following command.
py cli.py wallet -n 5 -t 1 recover -sprivate ./private.txt -spublic ./public.txt -w argent -i ./seed.txt
P.S. n 5 - specify how many wallets we want to create.
After running the command, the logs show information about the actions performed by the script.
- After completion, a file with private and a file with the public keys of the created wallets will appear in the script folder.
Created private and public keys will only work for the ArgentX wallet.
Wallet Activation
To make the wallets activated, we need to top them up to pay the activation fee. You can replenish the created wallets with Starknet software by transferring ETH through a bridge from one of the available networks.
π A guide for Starknet software π
Software for StarknetAt 20-30 GWEI it is better to have ~0.70-0.80$ on the balance to activate the wallet.
Once the balance is credited, we can proceed to activation.
On the command line, enter the following command:
py cli.py wallet -n 5 -t 1 recover -sprivate ./private.txt -spublic ./public.txt -w argent -i ./seed.txt -deploy true
After running the command in the logs we will see information about the work of the script.