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

Merge Browser into master #530

Merged
merged 168 commits into from
Mar 15, 2022
Merged

Merge Browser into master #530

merged 168 commits into from
Mar 15, 2022

Conversation

IlyasRidhuan
Copy link
Contributor

@IlyasRidhuan IlyasRidhuan commented Feb 24, 2022

This PR finally adds the browser into master. Since it contains so many updates, the easiest way to review this PR would be to setup and run the wallet browser locally. 99% of changes are contained with the /wallet directory, however the single change of note to optimist is the following:

  • optimist has a new web socket that passes L2 blockProposed events to the browser. This allows the browser to work with locally running optimist instances.

Steps to setup

  1. From the project root: mkdir ./wallet/src/zokrates.
  2. You will need aws-cli and access to the s3: aws s3 cp s3://nightfallv3/circuits ./wallet/src/zokrates --recursive
  3. In another tab start nightfall: ./start-nightfall -g -s -d
  4. In another tab start a proposer: ./proposer

Run wallet

  1. Basic setup: cd wallet && npm ci.
  2. Copy proving keys from locally running containers: ./copy-zokrates-local.sh
  3. Start wallet up: npm start

Your metamask must be configured to work with nightfall based on the steps in the README.

Note this should be SQUASHED MERGED given the commit quantity.

@IlyasRidhuan IlyasRidhuan changed the title Merge Browser into masyer Merge Browser into master Feb 24, 2022
@IlyasRidhuan IlyasRidhuan added the DNM Do not merge label Mar 1, 2022
@IlyasRidhuan IlyasRidhuan force-pushed the wallet/nf-browser-v2 branch 2 times, most recently from 0422687 to 3aba0f8 Compare March 9, 2022 09:40
@IlyasRidhuan IlyasRidhuan temporarily deployed to AWS March 9, 2022 09:40 Inactive
@IlyasRidhuan IlyasRidhuan force-pushed the wallet/nf-browser-v2 branch 2 times, most recently from cd290c9 to 3f787ae Compare March 9, 2022 15:10
@IlyasRidhuan IlyasRidhuan temporarily deployed to AWS March 9, 2022 15:10 Inactive
@IlyasRidhuan IlyasRidhuan removed the DNM Do not merge label Mar 9, 2022
wallet/package.json Outdated Show resolved Hide resolved
config/default.js Outdated Show resolved Hide resolved
Copy link
Contributor

@ChaitanyaKonda ChaitanyaKonda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes requested

@ChaitanyaKonda ChaitanyaKonda added the One more approval needed One reviewer has approved this PR but another is needed label Mar 14, 2022
@Westlad Westlad merged commit 2f43cb3 into master Mar 15, 2022
@Westlad Westlad deleted the wallet/nf-browser-v2 branch March 15, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
One more approval needed One reviewer has approved this PR but another is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants