This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
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
411 changed files
with
15,900 additions
and
12,170 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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
v14.17.1 |
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,30 +1,58 @@ | ||
# Deep Linking Ledger Live | ||
|
||
## Protocols | ||
|
||
Currently, Ledger Live will open with this scheme: | ||
|
||
- ledgerlive:// | ||
|
||
## Routing | ||
_Every route is preceded by the protocol_ | ||
|
||
- **portfolio** => `/` | ||
- **accounts** => `/accounts` | ||
- **account?currency=xxx** => `/account` of the selected currency with highest funds | ||
- *currency* => the ticker of the currency **required** | ||
- **send?currency=xxx&arg2=xxx** => open `send` modal | ||
- *currency* => the ticker of the currency **required** | ||
- *amount* => the amount to send | ||
- *recipient* => the address to send to | ||
- **receive?currency=xxx** => open the `receive` modal | ||
- - *currency* => the ticker of the currency **required** | ||
- **delegate?currency=xxx** => open the `delagation` flow | ||
- *currency* => the ticker of the currency **required** | ||
|
||
- *validator.s* => validator.s to delegate to _(not implemented yet)_ | ||
|
||
|
||
**### Examples** | ||
|
||
`ledgerlive://portfolio` => to access the dashboard | ||
`ledgerlive://account?currency=mana` => to access the first decentraland mana account | ||
`ledgerlive://send?currency=btc&amount=0.001&recipient=adress` => open the send modal with profiled inputs | ||
|
||
_Every route is preceded by the protocol \*\*\_ledgerlive://_\*\*\_ | ||
|
||
- **_portfolio_** 🠒 Portfolio page (default landing) | ||
|
||
`ledgerlive://` _or_ `ledgerlive://portfolio` | ||
|
||
- **_accounts_** 🠒 Accounts Page | ||
|
||
`ledgerlive://accounts` will redirect to accounts page | ||
|
||
- **_account?currency_** 🠒 Account Page | ||
|
||
`ledgerlive://account?currency=btc` will open first bitcoin account found | ||
|
||
- _currency_ => the ticker or name of the currency **required** | ||
|
||
- **_send?currency?amount?recipient_** 🠒 Send Flow | ||
|
||
`ledgerlive://send` will redirect to send page | ||
|
||
`ledgerlive://send?currency=ethereum` will redirect to send page with the first ethereum account found | ||
|
||
`ledgerlive://send?currency=ethereum&recipient=0xex...xxx&amount=3` will redirect to send page with the first ethereum account found and recipient and amount prefilled | ||
|
||
- *currency* => the ticker of the currency **required** | ||
- *amount* => the amount to send | ||
- *recipient* => the address to send to | ||
|
||
- **_receive?currency_** 🠒 Receive Flow | ||
|
||
`ledgerlive://receive?currency=ethereum` will redirect to receive page with the first ethereum account found | ||
|
||
- *currency* => the ticker or name of the currency **required** | ||
|
||
- **delegate?currency\_** 🠒 Send Flow | ||
|
||
`ledgerlive://delegate?currency=tron` will redirect to delegation page with the first tron account found | ||
|
||
- *currency* => the ticker or name of the currency **required** | ||
- *validators* => TBD - no ready yet | ||
|
||
* **\_buy** 🠒 Buy Crypto Flow | ||
|
||
`ledgerlive://buy` will redirect to buy page | ||
|
||
* **_swap_** 🠒 Swap Crypto Flow | ||
|
||
`ledgerlive://swap` will redirect to swap page |
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
Oops, something went wrong.