This utility is for those who have lost access to old Shareledger address with the same passphrase.
It does two main things:
- Generate both old and new Shareledger address so that you can verify whether you have the right addresses from the right passphrase.
- Some utility functions to
- transfer SHR from old address to new address;
- undelegate your delegations in old address (if any); or
- claim rewards in old address (if any)
Go to Releases page and download the latest version. Pre-built binaries support 3 platforms: Linux x64, Windows x64 and Mac arm64.
Linux
You will need to grant executable permission on the downloaded file:
chmod +x old-address-utils-linux-x64
MacOS
Executable permission is also needed. Apart of that you may be required to Allow
the executable to run by go to System Settings -> Privacy Policy
Make sure you have the following installed on your machine.
- Git
- Node 14+
-
Clone the repo
git clone https://github.com/orgs/ShareRing/old-address-utils.git
-
Install dependencies
cd old-address-utils npm i
-
Run
node index
We use pkg
to package the code into executable. Please refer to it's documentation for the details
Here's the basics:
-
Install
pkg
globallynpm i -g pkg
-
Build
pkg -t node16-macos-arm64,node16-win-x64,node16-linux-x64 -C GZip -o old-address-utils index.js
ShareRing