This repository has been archived by the owner on Jan 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
## Darwinia Migration Helper | ||
|
||
This tool assists users in unstaking their RINGs and deposits and migrate their deposits pallet data to deposits contract data. | ||
|
||
### Run | ||
|
||
#### Frontend | ||
|
||
The frontend for users to interact with the tool. | ||
|
||
```sh | ||
yarn install && yarn start | ||
``` | ||
|
||
#### Backend | ||
|
||
The backend facilitates interaction between the frontend and PolkadotJS, as the migration process can only be initiated through PolkadotJS, which is not user-friendly for EVM (Metamask) users. The delegator will call the migrate function for the user account. | ||
|
||
```sh | ||
cd delegator | ||
export SEED=<PRE_FUNDED_SEED> | ||
yarn install && yarn start | ||
``` | ||
## Darwinia Migration Helper | ||
|
||
This tool assists users in unstaking their RINGs and deposits and migrate their deposits pallet data to deposits contract data. | ||
|
||
### Run | ||
|
||
#### Frontend | ||
|
||
The frontend for users to interact with the tool. | ||
|
||
```sh | ||
cd packages/web | ||
yarn install | ||
yarn start | ||
``` | ||
|
||
#### Backend | ||
|
||
The backend facilitates interaction between the frontend and PolkadotJS, as the migration process can only be initiated through PolkadotJS, which is not user-friendly for EVM (Metamask) users. The delegator will call the migrate function for the user account. | ||
|
||
```sh | ||
cd packages/delegator | ||
export SEED=<PRE_FUNDED_SEED> | ||
yarn install | ||
yarn start | ||
``` |