-
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.
* fix: Update account name instantly #2667 * linter update * feat: Add green color for card valid status #2764 * color adjustment * fix: Avoid double scan to get and present #2668 * fix: Fetch uri for image but not working and indication of deleted message #2771 * feat: Add all type of VCs #2779 * feat: Support all types presentaton wth VCFormat auto #2779 * feat: Update credential request for draft 13 - jwt_vc_json and ldp_vc #2796 * version update: 2.9.8+477 * Revert "version update: 2.9.8+477" This reverts commit 6e8265c. * refactor: Update oidc4vc test * refactor: Try to display image #2771 * fix: Fix image and add photo viewer #2771 * refactor: Optimise code to load image smoothly side by side #2771 * feat: Display advanced security option in enterprise #2584 * feat: Update error responses #2573 * refactor: Remove long error message for now #2573 * refactor: Display advanced security options #2584 * refactor: Bug fix and optimise code * some update and package update * refactor: Bug fix - show dialog * feat: Update PIN Code input placement #2822 * feat: Disble software license page #2822 * fix: Solve margin issue #2822 * feat: Add message in the developer info dialog #2822 * feat: Add message in the developer info dialog #2822 * feat: Make credential overly content color to white #2822 * feat: Make network title bold #2822 * feat: Update warning text #2822 * feat: Improve redability by moving default part to the end of sentence #2822 * feat: Change color of copy and share icons #2822 * feat: Simplify recovery info safety dialog #2822 * feat: Update enterprise display data in about section #2822 * feat: Remove extra padding in blockchain accounts #2822 * feat: Only wallet ready string is shown #2822 * feat: Dosplay more text in terms #2822 * feat: Change background text field #2822 * feat: Some bug fix * feat: Support base64 with extra prefix in string #2819 * feat: Support base64 with extra prefix in string #2819 * feat: Remove black opacity from the credential image * feat: Make description title bold #2822 * version update: 2.10.3+485 * feat: Add network Etherlink basics #2820 --------- Co-authored-by: hawkbee1 <googandads@gmail.com>
- Loading branch information
Showing
73 changed files
with
836 additions
and
441 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
49 changes: 49 additions & 0 deletions
49
lib/app/shared/models/blockchain_network/etherlink_network.dart
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,49 @@ | ||
import 'package:altme/app/app.dart'; | ||
import 'package:json_annotation/json_annotation.dart'; | ||
|
||
part 'etherlink_network.g.dart'; | ||
|
||
@JsonSerializable() | ||
class EtherlinkNetwork extends EthereumNetwork { | ||
const EtherlinkNetwork({ | ||
required super.networkname, | ||
required super.apiUrl, | ||
required super.rpcNodeUrl, | ||
required super.title, | ||
required super.subTitle, | ||
required super.chainId, | ||
required super.chain, | ||
required super.type, | ||
super.apiKey, | ||
}) : super( | ||
mainTokenName: 'Etherlink', | ||
mainTokenDecimal: '18', | ||
mainTokenIcon: IconStrings.etherlink, | ||
mainTokenSymbol: 'XTZ', | ||
); | ||
|
||
factory EtherlinkNetwork.mainNet() => const EtherlinkNetwork( | ||
type: BlockchainType.etherlink, | ||
networkname: 'Mainnet', | ||
apiUrl: Urls.moralisBaseUrl, | ||
chainId: 42793, | ||
chain: 'etherlink', | ||
rpcNodeUrl: 'https://explorer.etherlink.com', | ||
title: 'Etherlink Mainnet', | ||
subTitle: | ||
'This network is the official Etherlink blockchain running Network.' | ||
' You should use this network by default.', | ||
); | ||
|
||
factory EtherlinkNetwork.testNet() => const EtherlinkNetwork( | ||
type: BlockchainType.etherlink, | ||
networkname: 'Ghostnet', | ||
apiUrl: Urls.moralisBaseUrl, | ||
chain: 'etherlink-testnet', | ||
chainId: 128123, | ||
rpcNodeUrl: 'https://testnet.explorer.etherlink.com/', | ||
title: 'Etherlink Testnet (Ghostnet)', | ||
subTitle: 'This network is used to test protocol upgrades' | ||
' (do not use it unless you are a developer).', | ||
); | ||
} |
Oops, something went wrong.