-
Notifications
You must be signed in to change notification settings - Fork 9
Lykhoyda/add snap #48
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6964ab0
update project
Lykhoyda 56af8fa
udpate project
Lykhoyda ef89cd4
add functionality to web wallet to trigger snap
Lykhoyda 9f15c20
rename method
Lykhoyda e178b57
cleanup
Lykhoyda ad3a047
cleanup
Lykhoyda f5452ca
cleanup
Lykhoyda 5e05e9d
update yarn lock
Lykhoyda 9a57caf
update versions in packages
Lykhoyda bc111ad
update demo wallet; update commands
Lykhoyda 878c4b3
cleanup; adjust gitignore
Lykhoyda c26c851
update
Lykhoyda 292ab33
adjust commands
Lykhoyda 852fa8f
adjust scripts
Lykhoyda aabd253
configure webpack to inline the wasm and switch snap to use webz-keys…
willemolding b48c504
Merge pull request #1 from ChainSafe/willem/remove-intermediate-wasm-…
Lykhoyda fc90d86
updates
Lykhoyda 274d6f6
error message
Lykhoyda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
/target | ||
# Common | ||
target | ||
node_modules | ||
.DS_STORE | ||
.idea | ||
.parcel-cache | ||
.vscode | ||
dist | ||
|
||
.pnp.* | ||
# Package Manager | ||
.parcel-cache | ||
.yarn/* | ||
|
||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.parcel-cache | ||
# Developer tools | ||
.idea | ||
.vscode | ||
|
||
packages/demo-wallet/dist/* | ||
packages/e2e-tests/dist/* | ||
./dist/* | ||
# Wasm package | ||
packages/wasm/lib | ||
|
||
# Demo Wallet package | ||
packages/demo-wallet/dist/* | ||
!packages/demo-wallet/dist/_headers | ||
|
||
# e2e Tests package | ||
packages/e2e-tests/dist/* | ||
!packages/e2e-tests/dist/serve.json | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
quoteProps: 'as-needed', | ||
singleQuote: true, | ||
tabWidth: 2, | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
compressionLevel: 0 | ||
|
||
enableGlobalCache: true | ||
|
||
nmMode: hardlinks-local | ||
|
||
nodeLinker: node-modules | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
{ | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"serve": "pnpm --filter ./packages/demo-wallet run serve", | ||
"dev": "pnpm --filter ./packages/demo-wallet run dev", | ||
"build": "pnpm --filter ./packages/demo-wallet run build", | ||
"test:e2e": "pnpm --filter ./packages/e2e-tests test" | ||
"name": "root", | ||
"private": true, | ||
"license": "Apache-2.0", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"engines": { | ||
"node": ">=18.18.0" | ||
}, | ||
"dependencies": { | ||
"@webzjs/demo-wallet": "workspace:^", | ||
"@webzjs/webz-wallet": "workspace:^", | ||
"@webzjs/webz-keys": "workspace:^", | ||
"@webzjs/webz-requests": "workspace:^" | ||
"devDependencies": { | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-packagejson": "^2.5.3" | ||
}, | ||
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b" | ||
"packageManager": "yarn@4.5.1", | ||
"scripts": { | ||
"serve": "yarn workspace @webzjs/demo-wallet run serve", | ||
"dev": "yarn run just:build-keys && yarn run wasm:build && yarn run snap:start & yarn run demo-wallet:dev", | ||
"build": "yarn workspace @webzjs/demo-wallet run build", | ||
"demo-wallet:dev": "yarn workspace @webzjs/demo-wallet run dev", | ||
"test:e2e": "yarn workspace @webzjs/e2e-tests test", | ||
"snap:start": "yarn workspace @webzjs/zcash-snap run start", | ||
"snap:build": "yarn workspace @webzjs/zcash-snap run build", | ||
"wasm:build": "yarn workspace @webzjs/wasm run build", | ||
"just:build-keys": "just build-keys" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SNAP_ORIGIN="" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is used by Netlify (and other web hosting platforms) to set the headers correctly. Please put it back 😆
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.
@willemolding I will take care of global eslint in the next PR with demo-wallet to configure it for all front-end projects