- 69c3aac: Change undefined params/returns -> null
- 15a583d: update icon.svg + name and description
- b911ac9: update allowed origins
- 56b5049: display gas estimate to user
- c6385c2: display gas estimate to user
- 30610d5: Refactors config to be based on ethereum provider chainid
- 489f826: Adds extra metadata for Uniswap V3 Swap ops
- 140fd8a: Update canon addr message text
- d851894: setSpendKey receives and stores corresponding eoa address + remove isSpendKey set and replace with nocturne_requestSpendKeyEoa
- 90a88fc: Pin yarn 3.2.1, bump dependencies after post-protocol-audit redeploy
- 915801c2: Add optional sender field to included note superstruct to accomodate decrypted note with sender case
- 6fddaaa2: Address audit findings, strip newlines/carriage returns, check set spend key origin, add superstruct validation to params
- b49fd71f: Update snap content to account for new action types
- b49fd71f: Update ActionMetadata types to be consistent
- Updated dependencies [6fddaaa2]
- Updated dependencies [b49fd71f]
- @nocturne-xyz/[email protected]
- Updated dependencies [abfab3f2]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- a94caaec: - axe bip44
- only derive signer in methods where it's needed
- throw an error during signer derivation if there's no spend key set in db
- a94caaec: add method
nocturne_setSpendKey
- Updated dependencies [d89a77e4]
- Updated dependencies [a94caaec]
- Updated dependencies [c717e4d9]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- a6275d8a: - split
core
in half, creating a newclient
package that housesNocturneClient
and everything around it- moved all "sync adapter" interfaces into
core
- moved all "sync adapter" implementations into data-source-specific packages
rpc-sync-adapters
,subgraph-sync-adapters
, andhasura-sync-adapters
- moved all "sync adapter" interfaces into
- b8628f56: Adds plugins to fe-sdk
- Updated dependencies [22abab87]
- Updated dependencies [a6275d8a]
- @nocturne-xyz/[email protected]
- Updated dependencies [e2801b16]
- Updated dependencies [5d90ac8e]
- Updated dependencies [8b3e1b2c]
- Updated dependencies [f80bff6a]
- Updated dependencies [fbfadb23]
- Updated dependencies [5d90ac8e]
- Updated dependencies [10b5bda4]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- Updated dependencies [7c190c2c]
- Updated dependencies [07625550]
- Updated dependencies [07625550]
- Updated dependencies [d1c549a4]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- Updated dependencies [16dfb275]
- Updated dependencies [dcea2acb]
- @nocturne-xyz/[email protected]
- Updated dependencies [47a5f1e5]
- Updated dependencies [0ed9f872]
- Updated dependencies [46e47762]
- Updated dependencies [4d7147b6]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- Updated dependencies [9fccc32f]
- Updated dependencies [543af0b0]
- Updated dependencies [543af0b0]
- @nocturne-xyz/[email protected]
- 77c4063c: Add functionality to snap/fe-sdk that supports signing a canon addr registry entry and returning necessary inputs for sig check proof gen
- 81598815: - remove all methods except for
nocturne_signOperation
- add new method
nocturne_requestViewingKey
- add new method
- 1ffcf31f: update contract and sdk bundler gas comp estimate numbers
- 86d484ad: - implement plugin system for
OperationRequestBuilder
and update APIs accordingly - 6998bb7c: add resetWindowHours to deploy config in config package and deploy package
- 589e0230: add RPC method for generating canon addr sig
- 3be7d366: Strongly typed both sides of the JSON RPC boundary, between fe-sdk & snap. Shared in core
- Updated dependencies [6abd69b9]
- Updated dependencies [81598815]
- Updated dependencies [003e7082]
- Updated dependencies [1ffcf31f]
- Updated dependencies [fc364ae8]
- Updated dependencies [0cb20e3d]
- Updated dependencies [86d484ad]
- Updated dependencies [1ffcf31f]
- Updated dependencies [77c4063c]
- Updated dependencies [6998bb7c]
- Updated dependencies [58b363a4]
- Updated dependencies [35b0f76f]
- Updated dependencies [77c4063c]
- Updated dependencies [589e0230]
- Updated dependencies [3be7d366]
- Updated dependencies [9098e2c8]
- Updated dependencies [58b363a4]
- Updated dependencies [003e7082]
- Updated dependencies [77c4063c]
- Updated dependencies [58b363a4]
- Updated dependencies [f8046431]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- use opts for get notes opts single for getBalanceForAsset
- 14d0ac58: fix snap<>fe-sdk bug, ensure fe-sdk stringifies all snap params, ensure snap parses them
- fix publish command
- Updated dependencies
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- 6c0a5d7c: overhaul monorepo structure & start proper versioning system
- Updated dependencies [6c0a5d7c]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- @nocturne-xyz/[email protected]
- Add
lastSyncedMerkleIndex
usage if sync already is taking place - remove custom gas est call in snap and let sdk handle
nocturne_sync
takes and propagatesSyncOpts
as params- change spend key derivation to
keccak256(bip44Node.privateKey)
- remove use of winston logger
- fix bug where snap was parsing op metadata as
.metadata
not.opMetadata
- setup browser logger for SDK to use
- add method to fetch all inflight op digests and metadata
nocturne_getInflightOpDigestsAndMetadata
- parse metadata param in
nocturne_signOperation
method and pass toapplyOptimisticRecordsForOp
call - lock snaps-cli to finalized version
0.32.2
(MetaMask/snaps#1411) - apply op's nullifiers to SDK's optimsitic nullifiers at the end of
nocturne_signOperation
- update SDK's optimistic nullifiers after each sync
- call
loadNocturneConfigBuiltin("localhost")
instead of copying config fromconfig
package into snap - throw error when
snap_dialog
returns a falsy value (unlikesnap_confirm
,snap_dialog
doesn't do this for you); - snap slurps up real config - not dummy config - using JSON module
- Snap takes handler contract addr for SDK not wallet
- if op doesn't have
gasPrice
set, set it to chain's current gas price - set
gasAssets
inDUMMY_CONFIG
- use new
NocturneWalletSDK
instead ofNocturneContext
- make
SnapKVStore
only dump on writes by putting the inner KV store in a thunk - use
SubgraphSyncAdapter
against local graph node - call
context.sync()
at the beginning ofnocturne_signOperation
so it's unnecessary for frontend to explicitly sync - remove
syncLeaves
method and renamesyncNotes
tosync
(only onesync
method) - Fix regression where key derivation was still using
wallet
keyword instead ofsnap
- adapt to breaking changes in MM Flask
- fix SK being derived in wrong field
- move to monorepo
- Bump SDK to 1.0.70-alpha
- Bump SDK to 1.0.66-alpha
- Bump SDK to 1.0.60-alpha to include joinsplit processing after refund processing fix
- Add
START_BLOCK
andRPC_URL
consts for overriding - Bump sdk to 1.0.55-alpha
- Bump sdk to 1.0.50-alpha to include unawaited promises when processing refunds/joinsplits
- print error when
tryGetPreProofOperation
fails - don't set default gas params when getting joinsplit inputs
- update SDK
- set node version in changelog to 18.12.1
- remove default
verificationGas
andgasPrice
- clean up resolutions
- fix missing await bugs
- Add permission to manifest for
snap_getBip44Entropy
. - Remove
SnapDB
in place ofSnapKvStore
after sdk db refactor (remove inheritance) - Update SDK after removing
toJSON
andfromJSON
methods - Move to separate repo and rename flax to nocturne
- Expose methods to sync notes, sync leaves, and provide web page with pre-proof spend tx inputs and proof inputs (currently points to hh local node and hardcode addresses)
- Start
snap
package