-
Notifications
You must be signed in to change notification settings - Fork 0
WASM version bump + updated examples #1
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
Open
Gohlub
wants to merge
65
commits into
main
Choose a base branch
from
feat/wasm-module-version-bump
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
c57a408
WASM version bump + updated examples
Gohlub d19184e
hotfix for modules not relevant to this PR
Gohlub 03c6a1d
version bump again + new export style
Gohlub 2c1f8a8
got rid of undefined
Gohlub cd56208
compatibility for Nicks in all potential formats
Gohlub ecc60e4
add support for native and legacy signtx
Gohlub 22d1766
concrete type for legacy transaction signing
Gohlub 199f26a
fix examples
Gohlub 34c9e70
fixes according to comments, added guard export
Gohlub 1a806bf
Update package.lock
h33p f6b1935
Fix examples
h33p e0320cd
Bump version
h33p e9adb62
Update iris-wasm
h33p faaf42b
bump iris-wasm to alpha.6
Gohlub 5679411
added APIs for v0 to v1 migration and swap (bridge) to be consumed by…
Gohlub 61bea2e
temporary WASM module
Gohlub e3fd27e
update migration
Gohlub 940bd48
refactored and simplified the migration logic and the SDK API
Gohlub 8d0c8ca
temporary commit for testing: use the smallest note for migration
Gohlub 079f535
add spend condition to the rebuilt transaction to satisfy the API
Gohlub dc5101c
fix RPC
Gohlub c0101ac
Remove vendor/iris-wasm from package, add vendor/ to gitignore
Gohlub 2b989a8
update iris-wasm API calls
Gohlub 2bb34b4
clean up migration logic
Gohlub 82e165e
update and fix bridging logic
Gohlub 1cbf49e
Define RPC API V1 and switch SDK to it
h33p afb60e5
Merge pull request #4 from nockbox/api-v1
Gohlub 31a973d
use new API, fix issues with parsing Nicks
Gohlub 386ccd3
Merge branch 'feat/wasm-module-version-bump' into feat/sdk-v0-and-bri…
Gohlub 8c7cd68
Merge pull request #2 from nockbox/feat/sdk-v0-and-bridge-APIs
Gohlub d7140b0
update bridge for parsing new pkh digest format
Gohlub 2653e43
build sdk upon install
Gohlub abd99a2
move constant to constants
Gohlub bd4fcad
add type guard and change derivedV0address to public key
Gohlub 5c998dd
change signatures to accept public keys instead of deriving internally
Gohlub a3ba39f
add tx engine as a required parameter, change debug to be specific to…
Gohlub 7e13cca
add options for bridge to get tx engine settings from the caller
Gohlub 0ee3503
fix comment
Gohlub 1c3741a
define default coinbase inside of SDK
Gohlub 420f43b
add sign-tx-request guard in the SDK
Gohlub b0f132c
more consolidation
Gohlub aa27550
add default activation height to sdk
Gohlub 0e3aa87
enforce a clearer API: v0 transaction building not used anymore for b…
Gohlub 9feb057
moved config INTO SDK
Gohlub d02a12e
depract api in connection request since RPC request now holds it
Gohlub ef3d324
expose internal helpers to fit the extension better, add legacy path …
Gohlub 5cce6f6
formatting, small API change, update package.json to not export guard…
Gohlub c2a06a1
fix examples, add small helper
Gohlub c9874cd
connect fix
Gohlub 6762b9d
add guard to sign_message provider method
Gohlub 734896f
bridge debugging + hotfix for spend condition index
Gohlub 056c907
hotfix for bridge and logs
Gohlub 1ec925c
replicate nockswap
Gohlub 087d141
fix atom decoding for bridge logic
Gohlub 7d0bc1c
pick smallest note that is larger than 100 nocks for debug
Gohlub 94a8fc0
fix response type for legacy API request shapes
Gohlub 5daf5b0
display input notes properly on legacy sign raw tx request
Gohlub 8a5e47e
use smallest 2 notes with more than 100 nocks total
Gohlub a2caf78
fix: remove redundant guard: extension only returns modern format
Gohlub 562b61e
more informative comments
Gohlub 62c67a8
fix example to use tx engine settings from provider
Gohlub cae86c6
clarify tx builder output preview comment
Gohlub 049ef0c
fix edge case of a silent fail when the note amount isn't enough yet …
Gohlub 06901ae
format
Gohlub 4406861
remove stringtoatoms method
Gohlub 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ lib/nbx-wasm | |
| # Build output | ||
| dist/ | ||
| examples-dist/ | ||
| vendor/ | ||
|
|
||
| # TypeScript | ||
| *.tsbuildinfo | ||
|
|
||
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.
iris-wasm needs to have
lockFirstName, rather thanspendConditionFirstName