This project helps to upgrade deprecated Argent accounts, v0.2.2 or earlier, to a version that can be used in the extension. NOTE: this only works on mainnet, V0 transactions have been disabled on the other networks
Install bun https://bun.sh/docs/installation
Run
yarn install
Create a file name .env
following the example in .env.example
. Make sure you fill ADDRESS with the address of the account to upgrade, and PRIVATE_KEY with the private key controling that account.
Otherwise you can run the user-input.sh script with the following command:
source scripts/user-input.sh
Then run
bun run upgrade
It will output a transaction hash. You can go to your block explorer to see if the transacction succeeds