Skip to content

v0.11.1

Choose a tag to compare

@odesenfans odesenfans released this 04 Jun 22:54
· 26 commits to main since this release
43f40ae

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-run stops after the quote.
  • New aleph_sdk::swap module behind the swap cargo feature: orderbook REST client, GPv2 EIP-712 order signing (typehash and appData hash pinned in tests), and the native-ETH path through the on-chain CoWSwapEthFlow.createOrder contract.
  • 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 list now enriches VMs you sent but do not own (permission-delegation) with a single bulk sender-filtered call instead of one request per VM.
  • The VM listing moved from the deprecated owners query parameter to owner.
  • --crn on instance lifecycle commands accepts a unique node hash prefix or suffix, so the shorthand node IDs printed by aleph instance list (hash suffixes) can be passed directly.

Quality of life

  • aleph instance ssh accepts -i as 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