Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğecko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Ğecko
Commits
2ec8949d
Commit
2ec8949d
authored
4 years ago
by
poka
Browse files
Options
Downloads
Patches
Plain Diff
Generate HD wallets; Try to get 3 firsts BIP32 pubkeys of dewif
parent
c09560c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/models/generateWallets.dart
+2
-1
2 additions, 1 deletion
lib/models/generateWallets.dart
lib/models/walletOptions.dart
+4
-0
4 additions, 0 deletions
lib/models/walletOptions.dart
with
6 additions
and
1 deletion
lib/models/generateWallets.dart
+
2
−
1
View file @
2ec8949d
...
...
@@ -160,7 +160,8 @@ class GenerateWalletsProvider with ChangeNotifier {
this
.
actualWallet
=
await
DubpRust
.
genWalletFromMnemonic
(
language:
Language
.
french
,
mnemonic:
generatedMnemonic
,
secretCodeType:
SecretCodeType
.
letters
);
secretCodeType:
SecretCodeType
.
letters
,
walletType:
WalletType
.
bip32Ed25519
);
}
catch
(
e
,
stack
)
{
print
(
e
);
if
(
kReleaseMode
)
{
...
...
This diff is collapsed.
Click to expand it.
lib/models/walletOptions.dart
+
4
−
0
View file @
2ec8949d
...
...
@@ -63,6 +63,10 @@ class WalletOptionsProvider with ChangeNotifier {
this
.
pubkey
.
text
=
_localPubkey
;
isWalletUnlock
=
true
;
notifyListeners
();
print
(
'GET BIP32 accounts publickeys from this dewif'
);
String
_hdWallets
=
await
DubpRust
.
getBip32DewifAccountsPublicKeys
(
dewif:
_localDewif
,
secretCode:
_pin
,
accountsIndex:
[
0
,
1
,
2
]);
print
(
_hdWallets
);
return
_localDewif
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment