Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chain init #338

Merged
merged 139 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
6e89756
Merge pull request #237 from getsafle/dev
apoorvq Jul 6, 2023
0545d8b
Merge pull request #238 from getsafle/test
apoorvq Jul 6, 2023
1fa2a14
update vault state with decryptedVault and rate limiting for pin vali…
SDargarh Jul 8, 2023
e149cfc
parameter correction
SDargarh Jul 10, 2023
3b3c8fe
added nightly branches
SubhanshuMG Jul 10, 2023
23e1b70
Merge pull request #239 from getsafle/feature-devops-CI-integration
apoorvq Jul 10, 2023
dc4c98f
Update nightly-release.yml
SubhanshuMG Jul 10, 2023
6b46bf1
pakage dependency updates and update lable correction
SDargarh Jul 17, 2023
14b1ab9
changelog and version update
SDargarh Jul 17, 2023
0fd7964
version update
SDargarh Jul 18, 2023
75845a2
slicing exported private key if '0x' is prefixed
SDargarh Aug 18, 2023
75702eb
updated the logs for label update & delete account
SDargarh Aug 24, 2023
cee2330
added new package version
SDargarh Aug 28, 2023
816bdb1
removed unused encryption key parameter in get accounts
SDargarh Aug 28, 2023
00e9df7
added validation for pin parameter in export private key
SDargarh Aug 28, 2023
987cf2e
Added validation for encryption key in add account
SDargarh Aug 28, 2023
e07d38b
Added validation for encryption key in sign message
SDargarh Aug 28, 2023
7c5c334
added validation for pin parameter in restore keyring state
SDargarh Aug 28, 2023
b8a29ac
Added validation for encryption key in delete account
SDargarh Aug 28, 2023
b6e0291
Import wallet - sync the pin validation steps with other methods
SDargarh Aug 28, 2023
b5cca7a
Added validation for encryption key in get vault details
SDargarh Aug 28, 2023
00a675f
Added validation for encryption key in update label
SDargarh Aug 28, 2023
5e8fbea
added validation for current pin parameter in change pin
SDargarh Aug 28, 2023
c84b6dd
Updated tests wrt changes in vault generation and parameter validations
SDargarh Aug 28, 2023
69b7fab
updated change log
SDargarh Aug 28, 2023
3b35cfc
Merge pull request #254 from getsafle/feature-add-parameter-validations
sshubhamagg Aug 29, 2023
6ef7db8
Implemented vault recovery using logs and updated tests
SDargarh Aug 29, 2023
10a2acb
code correction
SDargarh Aug 29, 2023
63ec1c5
log delete account index check added
SDargarh Aug 29, 2023
5d071ad
Merge pull request #255 from getsafle/feature-recover-vault-with-logs
sshubhamagg Aug 29, 2023
762e428
Merge pull request #242 from getsafle/feature-update-log-struct
sshubhamagg Aug 31, 2023
1cc1fcd
Implemented account recovery and added tests
SDargarh Sep 8, 2023
493c489
"initial bitcoin integration and test"
SDargarh Sep 12, 2023
c948429
added logs for export nmemonic
SDargarh Sep 12, 2023
bc0c4d8
change log update
SDargarh Sep 12, 2023
8724e6b
Added logs for export private key
SDargarh Sep 12, 2023
f1221b5
Re-encrypt the private key of imported wallets and update vault state…
SDargarh Sep 12, 2023
42be14c
gitignore update
SDargarh Sep 18, 2023
7762db4
Merge pull request #262 from getsafle/feature-update-changePin-for-im…
apoorvq Sep 18, 2023
88d99e4
Merge pull request #260 from getsafle/feature-add-new-logs
apoorvq Sep 18, 2023
074ac11
Merge pull request #257 from getsafle/feature-account-recovery-for-de…
sshubhamagg Sep 20, 2023
636bc93
Added checksum for every address comparison in vault
SDargarh Sep 27, 2023
32583e5
updated label creation according to logs
SDargarh Sep 27, 2023
140e8f3
reverted few checksum comparison and updated tests
SDargarh Sep 27, 2023
a9231fa
sign/invalid address test case update
SDargarh Sep 27, 2023
791c8b0
Merge pull request #264 from getsafle/feature-update-label-creation-a…
sshubhamagg Sep 27, 2023
8ef5f5a
Merge branch 'nightly-release-for-web-integration' of https://github.…
SDargarh Oct 3, 2023
33eb5a2
recover vault update for bitcoin
SDargarh Oct 4, 2023
6504518
bitcoin integration updates for imported wallets
SDargarh Oct 4, 2023
8f1aa01
Updated pin format from number to string and tests
SDargarh Oct 5, 2023
0df2fb0
test case update for address
SDargarh Oct 6, 2023
49fe32d
Merge pull request #266 from getsafle/feature-pin-format-number-to-st…
apoorvq Oct 6, 2023
c91839c
Merge branch 'nightly-release-for-web-integration' of https://github.…
SDargarh Oct 9, 2023
d574cc1
updated bitcoin package
SDargarh Oct 9, 2023
2862fb0
updated resetting imported walletes
SDargarh Oct 9, 2023
dc8c707
Merge pull request #268 from getsafle/feature-pin-format-number-to-st…
sshubhamagg Oct 9, 2023
1d5fb73
Merge branch 'nightly-release-for-web-integration' of https://github.…
SDargarh Oct 9, 2023
594f4ca
code cleanup and package update
SDargarh Oct 9, 2023
87ac6a6
Enable backward compatibility in vault recovery for evm chains for un…
SDargarh Oct 25, 2023
c92f701
Generate a default wallet for every chain when generating vault
SDargarh Oct 26, 2023
c2e4db4
Add fallback for recover vault - the default address to be recovered …
SDargarh Oct 26, 2023
8aa9b85
Updated recover vault to create default wallet address for bitcoin fo…
SDargarh Oct 30, 2023
f2bd53c
updated test result for bitcoin
SDargarh Oct 30, 2023
d85c7be
Merge pull request #270 from getsafle/feature-integrate-bitcoin
sshubhamagg Oct 31, 2023
a74739c
Merging nightly release 1.31.0 into main branch
SDargarh Nov 2, 2023
85c31e2
Merge pull request #274 from getsafle/nightly-release-for-web-integra…
sshubhamagg Nov 2, 2023
fef3535
backward compatibility in recover vault and updated restore keyring s…
SDargarh Nov 28, 2023
55b16c0
Merge pull request #281 from getsafle/feature-vault-updates
sshubhamagg Dec 4, 2023
6637b82
updated bitcoin package and vault integration
SDargarh Dec 4, 2023
8382d69
Node version upgrade to 18.x
SDargarh Dec 4, 2023
3765a3c
Merge pull request #284 from getsafle/feature-bitcoin-update
sshubhamagg Dec 4, 2023
618963c
added getFees() and it's tests, updated all controllers
SDargarh Dec 4, 2023
57a124c
Merge pull request #286 from getsafle/feature-integrate-getFees
sshubhamagg Dec 4, 2023
2b62e34
integrated avalanche c-chain
0xsaurabhx0 Dec 4, 2023
32b4555
Merge pull request #287 from getsafle/feature-integrate-avalanche-c-c…
sshubhamagg Dec 5, 2023
2922677
integrated base chain
0xsaurabhx0 Dec 19, 2023
a7b700c
integrated polygon zkEVM chain
0xsaurabhx0 Dec 19, 2023
48b602b
Merge pull request #289 from getsafle/feature-integrate-base-chain
sshubhamagg Dec 19, 2023
1e203d8
Merge pull request #291 from getsafle/feature-integrate-polygon-zkEVM…
sshubhamagg Dec 19, 2023
8780287
Updated recover vault to handle disordered logs and duplicate addresses
SDargarh Jan 5, 2024
f15032d
Merge pull request #293 from getsafle/feature-log-recovery-update
sshubhamagg Jan 5, 2024
951a558
Updated bitcoin controller version
SDargarh Jan 9, 2024
3ff11f0
Merge pull request #295 from getsafle/feature-update-bitcoin-controll…
sshubhamagg Jan 9, 2024
ae60bf9
Increased rate limit for validating pin
SDargarh Jan 23, 2024
cf7aa65
Updated bitcoin controller version
SDargarh Jan 23, 2024
accf6f0
Merge pull request #298 from getsafle/feature-rate-limit-and-bitcoin-…
sshubhamagg Jan 23, 2024
45c2b3b
Updated bitcoin controller version with proxy service integrated
SDargarh Jan 24, 2024
031083b
Merge pull request #300 from getsafle/feature-bitcoin-proxy-version-u…
sshubhamagg Jan 24, 2024
3927f3d
Updated bitcoin controller version with network param for signing
SDargarh Jan 30, 2024
76f0d22
Updated restore keyring and vault structure in recover vault function…
SDargarh Jan 30, 2024
9853a57
Merge pull request #303 from getsafle/feature-bitcoin-version-update
sshubhamagg Jan 30, 2024
96e9536
Updated recover vault to handle recurring addresses in logs
SDargarh Feb 5, 2024
6c74f72
Merge pull request #305 from getsafle/feature-update-recover-vault
sshubhamagg Feb 5, 2024
da2988c
Refactored recover vault logic and account labeling
SDargarh Feb 8, 2024
e9d3a53
check for empty logs updated
SDargarh Feb 8, 2024
2c3f95e
Integrated restore account logs for vault recovery
SDargarh Feb 12, 2024
ed2a4e4
check for empty logs updated
SDargarh Feb 13, 2024
9ec4537
removed comment
SDargarh Feb 13, 2024
bb5ba9b
updated controllers
SDargarh Feb 15, 2024
dd19edf
Merge pull request #309 from getsafle/feature-clean-dependencies
sshubhamagg Feb 15, 2024
443b848
Merge branch 'main' of https://github.com/getsafle/safle-vault into f…
SDargarh Feb 20, 2024
d47f274
resolve conflicts
SDargarh Feb 20, 2024
9880af1
Merge pull request #307 from getsafle/feature-refactor-vault-recovery
sshubhamagg May 2, 2024
e68b954
Integrated stacks chain in safle vault
SDargarh May 7, 2024
aee6d96
updated restoring and recovering vault
SDargarh May 7, 2024
8a55f68
Merge pull request #311 from getsafle/feature-stacks-integration
sshubhamagg May 7, 2024
582ad43
updated stacks controller version
SDargarh May 9, 2024
d361694
updated stacks controller version
SDargarh May 9, 2024
1c7722e
Merge pull request #313 from getsafle/feature-stacks-integration
sshubhamagg May 9, 2024
6092ad3
updated add account for stacks addresses
SDargarh May 31, 2024
dc0210a
add account and stacks controller updated
SDargarh Jun 3, 2024
77f7cb1
Merge pull request #315 from getsafle/feature-stacks-addAcc-old-user
sshubhamagg Jun 3, 2024
0753b53
Integrated solana chain in safle vault
SDargarh Jul 25, 2024
fe16452
Updated test cases
SDargarh Jul 25, 2024
d43ad11
Merge pull request #317 from getsafle/feature-integrate-solana
sshubhamagg Jul 25, 2024
6ef977e
Added BEVM controller
Aug 8, 2024
683e1ed
Updated test cases
Aug 8, 2024
4cadfdc
Merge pull request #319 from getsafle/feature-bevm-integration
sshubhamagg Aug 8, 2024
9f01ae2
integrating rootstock chain fixing tests
Husienvora Aug 20, 2024
a37f13a
Merge pull request #322 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
585717f
debugging test
Husienvora Aug 20, 2024
8287fb3
Merge pull request #323 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
0859f2d
reverting the trace changes
Husienvora Aug 20, 2024
30a3ca0
Merge pull request #324 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
0e04f7a
locally working test
Husienvora Aug 20, 2024
bc79b02
Merge pull request #325 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
45704b2
support-rootstock-chain
Husienvora Aug 20, 2024
4129e6f
Merge pull request #326 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
cd8161b
some changes in validate pin
Husienvora Aug 20, 2024
9b97ed2
Merge pull request #327 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
ed8482d
Updated test cases
Aug 20, 2024
6c58231
Merge pull request #328 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
7849ae1
Updated test cases
Aug 20, 2024
0da2ee7
Merge pull request #329 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
8158536
some updates
Husienvora Aug 20, 2024
612c711
Merge branch 'support_rootstock_chain' of https://github.com/getsafle…
Husienvora Aug 20, 2024
a8515f0
updating tests and workflow
Husienvora Aug 20, 2024
e009f52
Merge pull request #330 from getsafle/support_rootstock_chain
sshubhamagg Aug 20, 2024
27cfd74
Update chain intialization and controller imports
Sep 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
GITHUB_ACTIONS: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16.16.0
node-version: 18.x
- run: npm ci
- run: npm run test

Expand All @@ -29,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16.16.0
node-version: 18.x
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setting up Node.js
uses: actions/setup-node@v2
with:
node-version: '16.16.0'
node-version: 18.x

- name: Installing dependencies
run: npm ci
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,9 @@ test.js
test2.js
vault_test.js
coverage
.coverage
.coverage
safle-vault.code-workspace
vault_test.json
vault_test_bitcoin.js
vault_test_recovery.js
test_getFees.js
Loading
Loading