-
Notifications
You must be signed in to change notification settings - Fork 130
feat(bb.js): initial API #232
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 all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
db5c468
fix: wasm build
ludamad0 db55a4c
feat: vscode settings
ludamad0 4bf6223
feat(b.js): initial typescript bindings
ludamad0 0018a6d
doc: running instructions in README
ludamad0 ab38bee
build: fix lint
ludamad0 335666b
Adam/feat/typescript bindings yalc (#241)
ludamad 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,6 +67,7 @@ if(WASM) | |
| # It turns out that just explicitly telling the wasm module which object files to include was easiest. | ||
| add_executable( | ||
| barretenberg.wasm | ||
| $<TARGET_OBJECTS:transcript_objects> | ||
| $<TARGET_OBJECTS:srs_objects> | ||
| $<TARGET_OBJECTS:numeric_objects> | ||
| $<TARGET_OBJECTS:crypto_sha256_objects> | ||
|
|
@@ -79,11 +80,16 @@ if(WASM) | |
| $<TARGET_OBJECTS:ecc_objects> | ||
| $<TARGET_OBJECTS:polynomials_objects> | ||
| $<TARGET_OBJECTS:plonk_objects> | ||
| $<TARGET_OBJECTS:honk_objects> | ||
| $<TARGET_OBJECTS:proof_system_objects> | ||
| $<TARGET_OBJECTS:stdlib_primitives_objects> | ||
| $<TARGET_OBJECTS:stdlib_schnorr_objects> | ||
| $<TARGET_OBJECTS:stdlib_pedersen_objects> | ||
| $<TARGET_OBJECTS:stdlib_blake2s_objects> | ||
| $<TARGET_OBJECTS:stdlib_blake3s_objects> | ||
| $<TARGET_OBJECTS:stdlib_sha256_objects> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing from wasm build |
||
| $<TARGET_OBJECTS:stdlib_aes128_objects> | ||
| $<TARGET_OBJECTS:stdlib_merkle_tree_objects> | ||
| $<TARGET_OBJECTS:acir_format_objects> | ||
| $<TARGET_OBJECTS:turbo_proofs_objects> | ||
| ) | ||
|
|
@@ -121,6 +127,7 @@ if(WASM) | |
| add_library( | ||
| barretenberg | ||
| STATIC | ||
| $<TARGET_OBJECTS:transcript_objects> | ||
| $<TARGET_OBJECTS:srs_objects> | ||
| $<TARGET_OBJECTS:numeric_objects> | ||
| $<TARGET_OBJECTS:crypto_sha256_objects> | ||
|
|
@@ -133,6 +140,8 @@ if(WASM) | |
| $<TARGET_OBJECTS:ecc_objects> | ||
| $<TARGET_OBJECTS:polynomials_objects> | ||
| $<TARGET_OBJECTS:plonk_objects> | ||
| $<TARGET_OBJECTS:honk_objects> | ||
| $<TARGET_OBJECTS:proof_system_objects> | ||
| $<TARGET_OBJECTS:stdlib_primitives_objects> | ||
| $<TARGET_OBJECTS:stdlib_schnorr_objects> | ||
| $<TARGET_OBJECTS:stdlib_pedersen_objects> | ||
|
|
||
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,6 @@ | ||
| require('@rushstack/eslint-patch/modern-module-resolution'); | ||
|
|
||
| module.exports = { | ||
| extends: ['@aztec/eslint-config'], | ||
| parserOptions: { tsconfigRootDir: __dirname }, | ||
| }; |
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,4 @@ | ||
| node_modules | ||
| yarn-error.log | ||
| .yarn | ||
| dest |
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.
Settings for tsdk (at least if we decided to keep using PNP), prettier, eslint