parallel-finance/parallel

Test Ledger Parallel on Ledger Live (dev mode)

mclyk opened this issue · 9 comments

mclyk commented

refer #1819

mclyk commented

Prepare:

1. Open Ledger Live desktop APP, turn on dev mode

image

2. Install parallel app

image

3.1 config setting (for Nano S)

✅ This is for Nano S, if you are using Nano X, try attaching it in polkadot.js extension
image

3.2 connect Ledger device (for Nano S)

⚠️ Parallel app should be open and be ready in ledger device
image

4.1 connect with extension (for Nano X)

image

4.2 connect with extension (for Nano X)

⚠️ connect Ledger device with computer and open "Parallel app" on it, then connect with extension.
image

mclyk commented

Precondition

Ledger Device: Nano S
App Version: v17.189.0
Parallel Parachain: v189
Portal: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.parallel.fi#/extrinsics

System

  • Remark
  • Remark with event

Utility

  • Batch
  • Batch all

Balances

  • Transfer
  • Transfer keep alive

Assets

  • Transfer
  • Transfer keep alive (failed due to callfilter)

XTokens

  • Transfer

Vesting

  • Claim
  • Vested transfer
  • Claim for

Loans

  • Mint
  • Collateral asset
  • Borrow
  • Repay borrow
  • Repay borrow all
  • Redeem all

Crowdloans

  • contribute

LiquidStaking

  • Stake
  • Unstake /loans
  • Unstake /relaychain

AMM

  • Add liquidity

AMMRoute

  • Swap exact tokens for token
mclyk commented

Issues

1 can not connect by polkadot extension

it's Nano S that can not connect, however Nano X can.
image

2 test on Heiko network

Not support on Heiko?

3 connect is not stable

paralle app in ledger device will auto back to closed status,
image

4 failed via polkadot.js extension

image
image

mclyk commented

Decimal issues about token:

1 xtoken.transfer

image

image

image

it should be 0.1 DOT, let's show it "1000000000" without unit.

2 crowdloans.contribute

image

image

it's 3 DOT actually, equal to `30000000000` and method in crowdloans pallet, like `redeem`,`refundFor` should be updated too.

3 farming pallet

decimal all shows in PARA.

mclyk commented

Test Ledger on Parallel DAPP
Ledger Device: Nano X
Test Portal: https://app.parallel.fi/#/overview
Endpoint: wss://rpc.parallel.fi

Overview

Relaychain Balance

❌ Transfer to Parallel
(Not supported because of Ledger Polkadot App)

Parallel Balance

  • Send
  • Withdraw
  • Claim

Swap

swap

  • swap

liquidity

  • add liquidity
  • withdraw liquidity

Money Market

lend

  • lend
  • use as collateral
  • withdraw
  • withdraw_all

borrow

  • borrow
  • repay
  • repay_all

Rewards

  • claim

Stake

stake

❌ stake

unstake

❌ unstake.loans
❌ unstake.relaychain

Crowdloan

❌ deposit to parallel
(Not supported because of Ledger Polkadot App)

  • contribute

DAO Fi

❌ streaming.create
(Method not supported)

mclyk commented

1. Not an issue for parallel ledger app, a snapshot here

Not supported by Ledger Polkadot App
image

2. gas fee too high

image

3. crowdloan

"Deposit DOT To Parallel" will not actually work, because while users using Parallel Ledger App, they can not transfer DOT from polkadot to parachain, "DOT DMP transfer" can only signed in Polkadot Ledger App and not support for now.
image

mclyk commented

1. stake without supply staked DOT to Money Market

image

image

2. stake and supply staked DOT to Money Market

image

image

3. connecting issues

image

4. unstake

image

image

5. instant unstake

image

image

FYI team I've added a new user guide to the Parallel gitbook here: https://parallelfi.gitbook.io/parallel-finance/polkadot-network/parallel-x-ledger-hardware-wallet