-
Notifications
You must be signed in to change notification settings - Fork 5
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
Dev mode for zkopru client package #40
base: develop
Are you sure you want to change the base?
Conversation
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.
LGTM
Actually most of things I don't understand (not familiar enough for npm and front-end) and just have some minor questions.
README.md
Outdated
|
||
## Development alongside @zkopru/client | ||
|
||
the web wallet download `@zkopru/client` module from npm while installing. for more convenience to develop alongside @zkopru/client, It would be better to use a client package that is locally cloned. |
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.
question about this, it works well by using yarn link @zkopru/client
as mentioned above Line16. Why do we need to have another command npm run install-dev
for zkopru/client
integration?
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.
In my environment, yarn link
requires permission to create a folder in the global node module.
I think it is okay setup and forgets in this way. If you use yarn link
, have to unlink at some point, even though not worry about the permission.
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.
May need some more explanation in this section about using the script or yarn link
:)
WEBSOCKET: 'wss://optimism-kovan.zkopru.network', | ||
} | ||
|
||
if (process.env.NODE_ENV == "development") { |
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 not keep the config for testnet? If we changed to this, we can only support local dev env only.
This PR for solving the issue zkopru-network/zkopru#410