CLI tool for migrating Run tokens to 1Sat Ordinals.
- Download Run token data for your RelayX seed phrase
- View / search your tokens
- Mint new 1Sat Ordinals (spends Run tokens)
This tool requires redis is installed and available on port 6379 (default redis port). Redis is used to cache token data.
NOTE: The run-sdk
is deprecated and requires node v16 or lower.
If you don't have nvm already, install it. Install v16, hen run nvm use
in the project folder to use the version specified by .nvmrc.
Rename the .env.example
to .env
and fill in your RelayX mnemonic and 1Sat Ordinals destination address where you would like to send tokens after migrating.
MNEMONIC
- Your RelayX mnemonicDESTINATION_ORD_ADDRESS
- Your 1Sat Ordinals address
- Clone this repo:
git clone https://github.com/shruggr/1sat-run-import.git
- Install dependencies:
npm i
- Install the
runto1sat
command globally (optional)
npm i -g .
If you don't want to install the runto1sat
command globally, you can run the tool directly from the project folder:
npm run start -h
- Import your run token data
runto1sat import
- View imported token details
runto1sat view
- Migrate a token
runto1sat migrate <id>
runto1sat start -h
You can get all listings using the original "order lock" contract using JungleBus.
- Go to junglebus.gorillapool.io and sign up
- Create a new subscription. Put your identity address in the addresses field, and "runlock" in the "type field.
- Add your subscription ID to the .env file
- Run the following command to get all listings
runto1sat subscribe
- Import token data from utxos
- View imported token details
- Import live orderlock (a.k.a. Run lock)
- Cancel open Run lock orders
- Mint new 1Sat Ordinals (spends Run tokens)