This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(profiles): implement
Environment#bootFromObject
(#542)
- Loading branch information
1 parent
5342de1
commit 031c600
Showing
9 changed files
with
120 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
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
60 changes: 60 additions & 0 deletions
60
packages/platform-sdk-profiles/test/fixtures/env-storage.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,60 @@ | ||
{ | ||
"profiles": { | ||
"b999d134-7a24-481e-a95d-bc47c543bfc9": { | ||
"id": "b999d134-7a24-481e-a95d-bc47c543bfc9", | ||
"name": "John Doe", | ||
"wallets": { | ||
"ac38fe6d-4b67-4ef1-85be-17c5f6841129": { | ||
"id": "ac38fe6d-4b67-4ef1-85be-17c5f6841129", | ||
"coin": "ARK", | ||
"coinConfig": { | ||
"network": { | ||
"id": "devnet", | ||
"name": "Devnet", | ||
"explorer": "https://dexplorer.ark.io/", | ||
"currency": { "ticker": "DARK", "symbol": "DѦ" }, | ||
"crypto": { "slip44": 111 }, | ||
"hosts": [ | ||
"https://dexplorer.ark.io", | ||
"http://167.114.29.51:4003", | ||
"http://167.114.29.52:4003", | ||
"http://167.114.29.53:4003", | ||
"http://167.114.29.54:4003", | ||
"http://167.114.29.55:4003" | ||
], | ||
"hostsMultiSignature": [], | ||
"voting": { "enabled": true, "singular": true } | ||
} | ||
}, | ||
"network": "devnet", | ||
"address": "D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib", | ||
"publicKey": "034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192", | ||
"data": { "BALANCE": {}, "SEQUENCE": {} }, | ||
"settings": { | ||
"AVATAR": "conic-gradient(from 138.92820875068205deg at 10.341003346631878% 56.34369708791203%, #9B2C2C, calc(0 * 100% / 5), transparent 0),conic-gradient(from 501.2404426352248deg at 6.193536608927738% 20.020924742851292%, #FEB2B2, calc(1 * 100% / 5), transparent 0),conic-gradient(from 538.0014084095758deg at 32.870727463865066% 41.693174698534285%, #F6AD55, calc(2 * 100% / 5), transparent 0),conic-gradient(from 86.8716993412581deg at 45.65092691320694% 53.97053076646755%, #2C7A7B, calc(3 * 100% / 5), transparent 0),conic-gradient(from 453.1648835420749deg at 5.017317358847957% 27.456901944771822%, #FC8181, calc(4 * 100% / 5), transparent 0)" | ||
} | ||
} | ||
}, | ||
"contacts": { | ||
"0e147f96-049f-4d89-bad4-ad3341109907": { | ||
"id": "0e147f96-049f-4d89-bad4-ad3341109907", | ||
"name": "Jane Doe", | ||
"starred": false, | ||
"addresses": [] | ||
} | ||
}, | ||
"notifications": { | ||
"b183aef3-2dba-471a-a588-0fcf8f01b645": { | ||
"id": "b183aef3-2dba-471a-a588-0fcf8f01b645", | ||
"icon": "warning", | ||
"name": "Ledger Update Available", | ||
"body": "...", | ||
"action": "Read Changelog" | ||
} | ||
}, | ||
"data": { "key": "value" }, | ||
"settings": { "ADVANCED_MODE": "value" } | ||
} | ||
}, | ||
"data": { "key": "value" } | ||
} |
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