-
Notifications
You must be signed in to change notification settings - Fork 0
feat(mbe): add bitgo integration and generate wallet api #4
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
feat(mbe): add bitgo integration and generate wallet api #4
Conversation
37e1b2f to
737fedd
Compare
1474b44 to
9cf361d
Compare
9cf361d to
41827fb
Compare
zahin-mohammad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:stamp: to unblock dev, but TAL at the comments
| /** | ||
| * @prettier | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need this comment here? Why not just prettify all files?
| app.post( | ||
| '/api/:coin/wallet/generate', | ||
| parseBody, | ||
| prepareBitGo(config() as MasterExpressConfig), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the cast?
| import { handleGenerateWalletOnPrem } from './masterBitgoExpress/generateWallet'; | ||
|
|
||
| const debugLogger = debug('master-express:express'); | ||
| const BITGOEXPRESS_USER_AGENT = `BitGoExpress/${pjson.version} BitGoJS/${version}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const BITGOEXPRESS_USER_AGENT = `BitGoExpress/${pjson.version} BitGoJS/${version}`; | |
| const BITGOEXPRESS_USER_AGENT = `MasterExpress/${pjson.version} BitGoJS/${version}`; |
| console.log('SSL Enabled:', cfg.enableSSL); | ||
| console.log('Enclaved Express URL:', cfg.enclavedExpressUrl); | ||
| console.log('Certificate exists:', Boolean(cfg.enclavedExpressSSLCert)); | ||
| console.log('Certificate length:', cfg.enclavedExpressSSLCert.length); | ||
| console.log('Certificate content:', cfg.enclavedExpressSSLCert); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a better logger then console.log? Is that planned in the future?
| "engines": { | ||
| "node": ">=14" | ||
| "node": ">=20.18.0" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whats the reason for not using 22, or 24?
No description provided.