Commit Graph
268 Commits
Author SHA1 Message Date
Sergio Chouhy 355fe3842d rename program 2026-05-11 19:38:28 -03:00
Sergio Chouhy 927c24de68 Merge branch 'main' into schouhy/diversify-private-pdas-by-identifier 2026-05-11 18:57:44 -03:00
Sergio Chouhy a9baf5d3dc rename progam 2026-05-11 17:09:46 -03:00
Sergio Chouhy d648505d89 fmt, clippy 2026-05-08 22:15:57 -03:00
Sergio Chouhy e9c0aa0858 handle comments 2026-05-08 21:41:48 -03:00
Sergio Chouhy fb4ddb055a Merge branch 'main' into schouhy/diversify-private-pdas-by-identifier 2026-05-06 00:22:58 -03:00
Sergio Chouhy 1599fc655c add tests 2026-05-05 21:17:15 -03:00
Pravdyvy f3472ce87a Merge branch 'main' into Pravdyvy/indexer-query-api 2026-05-05 14:39:14 +03:00
Petar Radovic 5bcb1d468b unstaged file 2026-05-01 09:25:37 +02:00
Petar Radovic c263a98231 address comments 2026-05-01 09:12:24 +02:00
Petar Radovic 0920e086d9 merge main 2026-04-30 11:21:01 +02:00
Petar Radovic 265a269da0 remove indexer dep from sequencer: 2026-04-30 11:13:50 +02:00
Sergio Chouhy 72756e8622 Merge branch 'main' into schouhy/generalize-npk-to-multiple-accounts 2026-04-29 12:28:05 -03:00
Petar Radovic 798b89839c checkpoints 2026-04-29 14:05:23 +02:00
Petar Radovic 6bcbe058ed merge master 2026-04-29 10:33:07 +02:00
Pravdyvy 89ea884207 feat: working queries 2026-04-28 19:36:23 +03:00
Sergio Chouhy f512a3bf0f refactor wallet config to use identifiers instead of the redundant account_id field 2026-04-27 23:12:30 -03:00
Pravdyvy 02949e961a Merge branch 'main' into Pravdyvy/indexer-ffi-spawns-rpc-for-communication 2026-04-27 13:58:10 +03:00
Pravdyvy 063ad8e476 Merge branch 'main' into Pravdyvy/indexer-query-api 2026-04-24 16:32:06 +03:00
Sergio Chouhy 7c45b5af3c Merge branch 'main' into schouhy/generalize-npk-to-multiple-accounts 2026-04-24 01:04:55 -03:00
Pravdyvy 9fc2e39c10 feat: first query api 2026-04-23 17:07:19 +03:00
Pravdyvy ad6a55c55d fix: lint fix 1 2026-04-22 07:42:02 +03:00
Pravdyvy 33557b122f fix: comments fix 1 2026-04-21 17:46:16 +03:00
Moudy d1fd6fe945 fix: clippy issue 2026-04-16 19:07:27 +02:00
Sergio Chouhy 985f610cea wip 2026-04-15 15:42:04 -03:00
Sergio Chouhy dae617c673 wip: add dummy identifier 2026-04-14 18:02:38 -03:00
Pravdyvy b864ff22d4 Merge branch 'main' into Pravdyvy/indexer-ffi-spawns-rpc-for-communication 2026-04-14 10:58:18 +03:00
Pravdyvy dd3ac54318 fix: all ffi tests added 2026-04-14 10:51:57 +03:00
Pravdyvy 5fc397c2ee fix: ci fix 2026-04-13 15:53:31 +03:00
Pravdyvy 5f86e597d5 fix: tests running 2026-04-13 13:34:01 +03:00
Petar Radovic e6ad1d3eea resubmit interval 2026-04-09 14:35:51 +02:00
Pravdyvy 1ae7192c7a fix: trying to run tests 2026-04-03 15:50:24 +03:00
r4bbit 3e24ae2736 fix(wallet): use cryptographically secure entropy for mnemonic generation
The mnemonic/wallet generation was using a constant zero-byte array for entropy ([0u8; 32]), making all wallets deterministic based
solely on the password. This commit introduces proper random entropy using OsRng and enables users to back up their recovery phrase.

Changes:

- SeedHolder::new_mnemonic() now uses OsRng for 256-bit random entropy and returns the generated mnemonic
- Added SeedHolder::from_mnemonic() to recover a wallet from an existing mnemonic phrase
- WalletChainStore::new_storage() returns the mnemonic for user backup
- Added WalletChainStore::restore_storage() for recovery from a mnemonic
- WalletCore::new_init_storage() now returns the mnemonic
- Renamed reset_storage to restore_storage, which accepts a mnemonic for recovery
- CLI displays the recovery phrase when a new wallet is created
- RestoreKeys command now prompts for the mnemonic phrase via read_mnemonic_from_stdin()

Note: The password parameter is retained for future storage encryption but is no longer used in seed derivation (empty passphrase is used
 instead). This means the mnemonic alone is sufficient to recover accounts.

Usage:

On first wallet initialization, users will see:
IMPORTANT: Write down your recovery phrase and store it securely.
This is the only way to recover your wallet if you lose access.

Recovery phrase:
  word1 word2 word3 ... word24

To restore keys:
wallet restore-keys --depth 5
Input recovery phrase: <24 words>
Input password: <password>
2026-04-01 16:04:47 +02:00
Sergio Chouhy 99071a4ef9 Merge branch 'main' into schouhy/add-block-context 2026-03-26 21:23:36 -03:00
Pravdyvy 9c90930bd6 Merge branch 'main' into Pravdyvy/hardcoded-initial-state 2026-03-20 14:55:42 +02:00
Sergio Chouhy 607a34058d Merge branch 'main' into schouhy/add-block-context 2026-03-20 09:52:16 -03:00
Sergio Chouhy 0d46f0798a clippy 2026-03-19 18:55:02 -03:00
Daniil Polyakov 7b20a83379 fix: fixes after rebase & address comments 2026-03-20 00:48:04 +03:00
Daniil Polyakov 325960d696 feat: remove override_rust_log from wallet config 2026-03-20 00:48:04 +03:00
Daniil Polyakov b631ef02c6 fix: final fixes & polishing 2026-03-20 00:47:37 +03:00
Daniil Polyakov 9d87e3b046 fix: fix lints 2026-03-20 00:41:05 +03:00
Daniil Polyakov b254ebb185 feat: refactor sequencer RPC client-side 2026-03-20 00:41:05 +03:00
Daniil Polyakov bffc711470 refactor: move sequencer_ directories into sequencer 2026-03-20 00:36:07 +03:00
Pravdyvy dc3650edd7 Merge branch 'main' into Pravdyvy/hardcoded-initial-state 2026-03-19 19:02:19 +02:00
Pravdyvy afa0a63c95 fix: suggestions fix 2 2026-03-19 18:01:15 +02:00
Pravdyvy 2c9361c6b5 fix: suggestions 1 2026-03-19 13:01:43 +02:00
jonesmarvin8 83ef789002 lint issues 2026-03-18 18:44:07 -04:00
jonesmarvin8 ce729f112d Merge branch 'main' into marvin/bip-32-comp 2026-03-18 16:47:39 -04:00
jonesmarvin8 5d9980cf63 lint fixes 2026-03-18 13:10:36 -04:00
Pravdyvy a0ab6ad92d fix: lint fix 2026-03-18 18:32:05 +02:00