Conversation
* initial handling on CA, partial tx handling implementation * feat: completed tron support, fix: chain ids & token address deduplication, added devnet for cerise env * fix: added tron & tron shasta chains to readme * fix: type errors for token contract address * fix: tron shasta rpc urls fix * rebase from develop * feat: refactor (#58) * feat: preliminary refactor * prelim error handling * deduplicate logger, remove unused variables * fix: fixed some regression issues after testing, deduped creating rff from intent fn * feat: added calculateMaxForBridge fn, fix: added caching for balance, feat: added onEvent params to fns and updated docs * feat: added bridge step and swap step, removed catching error in top level fns - let it bubble up, storing SIWE signature to prevent resigning * fix: intial refactor of swap route * fix: update USDT logo URLs and remove unused Ether token entry in swap constants * chore(core): beta release v1.0.0-beta.6 * fix: testing swap usage * fix: fix calculateMax function to include collectionFee, added initial implementation for dynamic permit version, fixed eip2612 not switching chain before signature * feat: add validium chain * fix: deduplicated code in bridgeAndExecute, fixed balance issue when a single chain balance errors out, Removed sending back status in function responses - success is when no error is thrown * fix: incorrect token addresses on folly, fixed using gasPrice and gasUsed in execute * chore: added custom version option in release script * fix: fixed Validium Testnet chain naming * feat: add getCoinbaseRates method to NexusUtils and update local-pack script to remove widget packaging (#60) * fix: readability improvement to exact in and out, fixed switchChain usage in missing bridge * fix: change from chainId to toChainId in bridge & bridgeAndTransfer fn for consistency, removed unused code from tenderly client, removed unused aave contract addresses, replaced partial errors with NexusError, removed unused simulation.ts, added calculateMaxForBridge to have source chains in response * refactor: reorganize balance formatting utilities, remove deprecated functions, and export new formatting options (#61) * chore(core): beta release v1.0.0-beta.24 * fix: standardize few errors, updated intent list to have more data * fix: added gasPrice in execute & bridgeAndExecute simulation response --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com> Co-authored-by: Amartya Singh <53113365+decocereus@users.noreply.github.com> * chore(core): beta release v1.0.0-beta.25 * fix: let intent list have chain details also * chore(core): beta release v1.0.0-beta.26 --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com> Co-authored-by: Amartya Singh <53113365+decocereus@users.noreply.github.com>
* fix: add buffer to gas, add L1Fee where applicable * fix: add value & data to 0x in serialize txn
* fix: added retries on rff collection, rebuild intent on fee issue * fix: breaking response loop in status:255 of create-rff * fix: added better error handling
* fix: removed using pnpm workspaces, changed all the references of @nexus/commons * fix: readded author
fix: Failed tsc validation + bumps script for build
…let check (#74) * fix: checking recipient before defaulting to self, removed arcana wallet check * fix: removed unused variable * fix: default to min allowance when hook is not set
* fix: removed unused code from commons * fix: removed more unused code * fix: moved viem to dependency
* fix: corrected the create-rff status code * fix: use provider directly to switch chain in paid approval
feat: Adds opentelemetry and emit logs on Error cases.
* fix: added currentRaw and minimumRaw in allowance hook * fix: added missing validation on bridge params * fix: exposed NexusErrorData and added new type SupportedChainsAndTokenResult --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com>
* fix: better logging during create RFF
* fix: temporary package with buffer included * chore(core): beta release v1.0.0-beta.27 * fix: add Buffer polyfills and update package configurations - Implemented polyfills for Buffer methods in both core and commons packages to ensure compatibility. - Updated package.json files to specify side effects for polyfills and added Buffer as a dependency. - Enhanced Rollup configuration to preserve side effects for polyfill files during tree-shaking. * chore: update ca-common package * chore(core): dev release v0.0.2-dev.2 * fix: release script and build errors * chore: updated release script * fix: removed extra polyfills in commons * chore(core): dev release v0.0.2-dev.3 * 'lock-file' update * fix: added currentRaw and minimumRaw in allowance hook * fix: added missing validation on bridge params * fix: exposed NexusErrorData and added new type SupportedChainsAndTokenResult * chore(core): dev release v0.0.2-dev.4 * lock file update * fix: update missing function call for reject error on allowance reject * chore(core): dev release v0.0.2-dev.5 * chore(core): bump version to v0.0.2-dev.5 in package-lock.json --------- Co-authored-by: Abhishek <abhishek.chaudhary.2008@gmail.com>
* fix: swap to use NexusError, replaced the usage * fix: swap insufficient balance issue, fixed faulty check of amount in case of exact in * fix: removed duplication of max bridge fee calculation * chore: update version and add prepublishOnly to package.json * fix: fixed using correct check on exact out requote * fix: naming update in swap classes * fix: fixed some regression issue in destination swap
#88) * fix: better naming for balance api, deprecate old balance api. * doc: update changes, update functions tsdoc. * fix: more info of getBalanceForSwap fn.
* fix: update ca-common with latest coral contracts * chore: release rc.1 build * fix: updated to avail multichain rpc * fix: binding error
* feat: added ability to set chain for siwe * fix: set siweChain to optional
* fix: getBalancesForSwap to return UserAsset[]
* feat: add beforeExecute hook in bridgeAndExecute * fix: removed unused variable preventing builds
* fix: add bnb and usdc to bnb chain data * fix: add ethereum chain data
* feat: add typedoc to create html sdk reference * feat: added github action to deploy typedoc --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com>
* fix: github action * fix: deploy-typedoc script * feat: added theme for typedoc
* fix: stopped catching error in simulateBridge in bridgeAndExecute * fix: undid accidental removal
* chore: script cleanup * 1.0.0-beta.39
* fix: use proper deadlines for batched calls and permits * fix: fix nonce fetching from latest - deterministic nonce
* feat: Adds client id for telemetry usage * lint * feat: removes crypto lib + adds correct code error to telemetry logger * feat: Switch id to hex formated
* fix: add 30% extra gas in bridge and execute * fix: updating to using gasLimit, separated out gas for approval and execute * fix: naming changes, grouping response from estimate fn * fix: deposit gas estimate (#105) * fix: updated gas estimate for deposit to move away from collectionFee * fix: removed unused variables * fix: removed unused code, npm audit to update a dependency * fix: fixed optimal bridge amount calculation in case of native token * chore: update sdk version * fix: buffer to gas & gasPrice to factor in time delay btw estimate & execute, fix: arrow fns in ca class for default binding, extra checks in switch chain * fix: updated response to beforeExecute hook to be optional * fix: bridgeAndExecute params on main class, unused variables build issue
* fix: removed telemetry for now, fix: deadline removed from approval for now, fixed approval deadline usage in SBC * fix: update logger to be lazy initialized on init, fix: deadline to bytes32 regression issue
* feat: Adds account,sdk and env errors * feat: Adds error map for generic errors * feat: Enhance error map for generic errors * feat: Add telemetry logging on default logger * feat: Adds lazy telemetry init on default logger
* feat: add monad mainnet chain & token details * fix: updated ca-common version * fix: buffer for gas changed for monad to 30%, removed balance caching for now, updated gas set for transfer * feat: added monad metadata * fix: updated gasPrice to be baseFee + 5*maxPriorityFee --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com>
* feat: start with adding jade * fix: remove fuel * fix: added public urls as fallback, fix: updated urls for vsc and explorer for jade, updated ca-common
* feat: Enhances telemetry labels: host, origin and network * feat: Adds func return type
* fix: fix evm address usage in refunds * fix: remove console.log
* Readme update * fix: formatTokenBalance example --------- Co-authored-by: decocereus <amartyasinghkings07@gmail.com>
decocereus
approved these changes
Nov 26, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.