Skip to content

ShareRing/old-address-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

old-address-utils

This utility is for those who have lost access to old Shareledger address with the same passphrase.

It does two main things:

  1. Generate both old and new Shareledger address so that you can verify whether you have the right addresses from the right passphrase.
  2. 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)

Usage

Pre-built binaries

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

From source

Make sure you have the following installed on your machine.

  • Git
  • Node 14+
  1. Clone the repo

    git clone https://github.com/orgs/ShareRing/old-address-utils.git
    
  2. Install dependencies

    cd old-address-utils
    npm i
  3. Run

    node index

Build binaries

We use pkg to package the code into executable. Please refer to it's documentation for the details

Here's the basics:

  1. Install pkg globally

    npm i -g pkg
  2. Build

    pkg -t node16-macos-arm64,node16-win-x64,node16-linux-x64 -C GZip -o old-address-utils index.js

Credits


ShareRing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published