Mayukha Vadari
6eec7b0b77
refactor: move everything out of the common folder ( #1629 )
...
* remove common/constants (all in models now)
* remove common/txFlags (all in models now)
* move ecdsa from src/common to src
* move errors from src/common to src, export at top level
2021-10-04 14:10:13 -04:00
Jackson Mills
6fac420d9f
Remove sign.ts and move functionality into Wallet ( #1620 )
...
* Move sign.ts functionality into Wallet
* Move the corresponding tests to wallet's test cases and simplify them for readability
* Delete sign.ts
2021-10-04 14:10:13 -04:00
Mayukha Vadari
13c52859eb
fix: renames verify... methods to validate... ( #1624 )
...
* rename verify -> validate
* fix imports
* run eslint --fix on test/
2021-10-04 14:10:13 -04:00
Jackson Mills
603b7ae85c
Add Wallet.fromSecret(...) as an alias for Wallet.fromSeed(...) ( #1618 )
...
* Add alias to fromSeed for fromSecret
* Switch syntax to direct usage
2021-10-04 14:10:12 -04:00
Mayukha Vadari
fe919315d4
Lints src/wallet and test/wallet ( #1600 )
...
* lint src/wallet/index
* lint generateFaucetWallet
* lint tests
* respond to comments
* change max-lines-per-function to 40
* remove * import
* fix TS issues
2021-10-04 14:10:12 -04:00
Jackson Mills
c401f703c7
Signer ( #1573 )
...
Create Signer class to allow for offline signing, multisigning and signing authorizeChannel requests.
2021-10-04 14:10:12 -04:00
Nathan Nichols
e200de3073
Adds @xrplf prettier config ( #1598 )
...
* build: new prettier config
2021-10-04 14:10:11 -04:00
Omar Khan
e0f4d99d86
Refactor generateFaucetWallet to return a Wallet ( #1564 )
...
* add Wallet.generate() and
* return Wallet in generateFaucetWallet
* refactor Wallet tests
* rename wallet-generation.ts to generateFaucetWallet.ts
* rename and move Wallet.ts to src/wallet/index.ts and update webpack config
2021-10-04 14:10:11 -04:00
Mayukha Vadari
6268b9ea26
test: removes the use of TestSuite ( #1566 )* switch all methods to new format* clean up rippleClient* rename files to remove ripple from name* additional cleanup
2021-10-04 14:10:11 -04:00
Omar Khan
43802f9e22
add getXAddress to Wallet ( #1558 )
...
- add getXAddress to Wallet
- refactor wallet tests
2021-10-04 14:10:11 -04:00