
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@wormhole-labs/cctp-executor-route
Advanced tools
This package implements an AutomaticRoute for use with the Wormhole Typescript SDK
To release this package, follow these steps:
Create a New GitHub Release
0.1.0
, 1.0.0-beta
, etc.).GitHub Workflow
.tgz
).Installation
Usage
Once installed, import the route using:
import { CCTPW7ExecutorRoute } from "@wormhole-labs/cctp-w7-executor-route";
This project includes a script for testing a USDC token transfer using the CCTPv1 Executor route with a referrer fee. You can change the source and destination chains in the examples/transfer.ts
file.
First, install dependencies and build the project:
npm ci && npm run build
Set your private keys as environment variables:
export EVM_PRIVATE_KEY=<your_evm_private_key>
export SVM_PRIVATE_KEY=<your_svm_private_key>
export SUI_PRIVATE_KEY=<your_sui_private_key>
To fetch a quote for the transfer:
npm run examples:test
To actually send the transfer, set an additional environment variable:
SEND_TRANSFER=true npm run examples:test
⚠️ Note:
- All relevant contract addresses and constants are defined in
src/consts
.- Referrer fee is set to 1 basis point in
src/consts
.
FAQs
This package implements an AutomaticRoute for use with the Wormhole Typescript SDK
The npm package @wormhole-labs/cctp-executor-route receives a total of 590 weekly downloads. As such, @wormhole-labs/cctp-executor-route popularity was classified as not popular.
We found that @wormhole-labs/cctp-executor-route demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.