-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the dApp to work in Ledger Live (#708)
This is an integration PR that adds the necessary changes for the dapp to run on Ledger Live. Refs: #730 #742 #763 #759, #760, #797, #780, mezo-org/passport#143, mezo-org/passport#144 ### Important note Changes can only be tested in a Ledger Live app built from source. See the [Ledger Live repo](https://github.com/LedgerHQ/ledger-live), how to build from source.
- Loading branch information
Showing
87 changed files
with
2,173 additions
and
1,158 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"id": "acre-dev", | ||
"name": "Acre [dev]", | ||
"url": "http://localhost:5173/" | ||
} |
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,5 @@ | ||
{ | ||
"id": "acre", | ||
"name": "Acre", | ||
"url": "https://bitcoin.acre.fi/" | ||
} |
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,5 @@ | ||
{ | ||
"id": "acre-testnet", | ||
"name": "Acre [testnet]", | ||
"url": "https://bitcoin.test.acre.fi/" | ||
} |
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
31 changes: 31 additions & 0 deletions
31
dapp/manifests/ledger-live/ledger-live-manifest-mainnet.json
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,31 @@ | ||
{ | ||
"id": "acre", | ||
"name": "Acre", | ||
"url": "https://bitcoin.acre.fi/?embed=ledger-live", | ||
"homepageUrl": "https:/acre.fi/", | ||
"icon": "https://bitcoin.acre.fi/acre.svg", | ||
"platforms": "desktop", | ||
"apiVersion": "^2.0.0", | ||
"manifestVersion": "2", | ||
"branch": "stable", | ||
"categories": ["staking"], | ||
"currencies": ["bitcoin", "bitcoin_testnet"], | ||
"content": { | ||
"shortDescription": { | ||
"en": "Bitcoin Liquid Staking" | ||
}, | ||
"description": { | ||
"en": "Bitcoin Liquid Staking" | ||
} | ||
}, | ||
"permissions": [ | ||
"account.request", | ||
"account.list", | ||
"bitcoin.getAddress", | ||
"bitcoin.getPublicKey", | ||
"custom.acre.messageSign", | ||
"custom.acre.transactionSignAndBroadcast" | ||
], | ||
"domains": ["http://*"], | ||
"type": "walletApp" | ||
} |
31 changes: 31 additions & 0 deletions
31
dapp/manifests/ledger-live/ledger-live-manifest-testnet.json
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,31 @@ | ||
{ | ||
"id": "acre-testnet", | ||
"name": "Acre [testnet]", | ||
"url": "https://bitcoin.test.acre.fi/?embed=ledger-live", | ||
"homepageUrl": "https:/acre.fi/", | ||
"icon": "https://bitcoin.test.acre.fi/acre.svg", | ||
"platforms": "desktop", | ||
"apiVersion": "^2.0.0", | ||
"manifestVersion": "2", | ||
"branch": "stable", | ||
"categories": ["staking"], | ||
"currencies": ["bitcoin", "bitcoin_testnet"], | ||
"content": { | ||
"shortDescription": { | ||
"en": "Bitcoin Liquid Staking" | ||
}, | ||
"description": { | ||
"en": "Bitcoin Liquid Staking" | ||
} | ||
}, | ||
"permissions": [ | ||
"account.request", | ||
"account.list", | ||
"bitcoin.getAddress", | ||
"bitcoin.getPublicKey", | ||
"custom.acre.messageSign", | ||
"custom.acre.transactionSignAndBroadcast" | ||
], | ||
"domains": ["http://*"], | ||
"type": "walletApp" | ||
} |
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
Oops, something went wrong.