v0.11.1
Highlights
Buy ALEPH with ETH or USDC (aleph token swap)
An in-CLI on-ramp via CoW Swap: sell native ETH or USDC for ALEPH, leaving the ALEPH in your wallet, so credit buy no longer requires acquiring ALEPH elsewhere first.
aleph token swap --sell-token eth|usdc --amount N [--slippage 0.5] [--receiver ADDR] [--valid-for SECS] [--dry-run]: quote -> confirm -> submit, then prints the order UID (USDC) or tx hash (ETH) with a CoW Explorer link.--dry-runstops after the quote.- New
aleph_sdk::swapmodule behind theswapcargo feature: orderbook REST client, GPv2 EIP-712 order signing (typehash and appData hash pinned in tests), and the native-ETH path through the on-chainCoWSwapEthFlow.createOrdercontract. - Mainnet and EVM accounts only in this first version (Ledger and Solana are rejected with clear messages).
Scheduler v0.1.1 alignment
Takes advantage of the aleph-vm-scheduler v0.1.1 API:
aleph instance listnow enriches VMs you sent but do not own (permission-delegation) with a single bulksender-filtered call instead of one request per VM.- The VM listing moved from the deprecated
ownersquery parameter toowner. --crnon instance lifecycle commands accepts a unique node hash prefix or suffix, so the shorthand node IDs printed byaleph instance list(hash suffixes) can be passed directly.
Quality of life
aleph instance sshaccepts-ias the conventional short form of--identity.
What's Changed
- feat(cli): accept a node hash prefix or suffix in --crn by @odesenfans in #244
- feat(cli): accept -i as short form of instance ssh --identity by @odesenfans in #245
- feat(cli): enrich sender-only instances with one bulk scheduler call by @odesenfans in #246
- fix(sdk): query the scheduler with owner instead of deprecated owners by @odesenfans in #247
- feat: aleph token swap - buy ALEPH with ETH or USDC via CoW Swap by @odesenfans in #248
Full Changelog: v0.11.0...v0.11.1
✅ Published to crates.io