Skip to content

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:07
· 65 commits to main since this release
ce9e070

Adds an offline key generator, checks every gateway-built transaction through rail0-go v1.6.0 before signing, and aligns the CLI with the unified onboarding API.

rail0 update
# or: curl -fsSL https://raw.githubusercontent.com/commercelayer/rail0-cli/main/install.sh | RAIL0_VERSION=1.5.0 sh

Added

  • rail0 keys generate: creates a new wallet key pair locally, fully offline (no gateway call, no file written, update check skipped). Prints the EIP-55 address and the private key; the warning to save the key now, since it cannot be recovered, goes to stderr. --json gives a clean {address, private_key} object (#175).
  • Readable hints for the onboarding error codes (signup_unavailable, email_domain_not_allowed, email_provider_not_configured, account_*_taken, terms_required, onboarding_link_*) (#173).

Changed

  • The pre-sign check of the gateway's unsigned_transaction (chain, target contract, selector, paymentId, amount, zero value) now delegates to rail0-go v1.6.0 VerifyUnsignedTransaction; amounts are compared in human units scaled by the payment's decimals (#174).
  • Types regenerated for the onboarding API: POST /accounts and the old claim are gone, account status is active or deactivated (#173).
  • account update --email on another account now answers 403 forbidden; help and docs say so (#173).
  • docs/cli and docs/man regenerated with bin/docs.

Changelog

  • 9aef98f: Merge pull request #173 from commercelayer/chore/onboarding-phase5 (@pviti)
  • ee8f189: Merge pull request #174 from commercelayer/feature/sdk-tx-verify (@pviti)
  • ce9e070: Merge pull request #175 from commercelayer/feat/wallet-generate (@pviti)
  • f658114: docs(account): an admin cannot change another account's email (@pviti)
  • f6788e1: feat(keys): add 'keys generate' to create a wallet key pair locally (@pviti)
  • 9d473c7: refactor(sign): delegate the pre-sign transaction check to rail0.VerifyUnsignedTransaction (@pviti)