This repository is deprecated. Please use this repository instead.
This project helps to upgrade Argent account, v0.2.3, to a version that can be used in the extension. NOTE: this only works on mainnet
Install bun https://bun.sh/docs/installation
Run
bun installCreate 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 controlling that account.
Otherwise you can run the user-input.sh script with the following command:
source scripts/user-input.shThen run
bun run upgradeIt will output a transaction hash. You can go to your block explorer to see if the transaction succeeds
Delete the .env file after the upgrade is done