Repository navigation
v1.5.0
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 shAdded
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.--jsongives 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.0VerifyUnsignedTransaction; amounts are compared in human units scaled by the payment's decimals (#174). - Types regenerated for the onboarding API:
POST /accountsand the old claim are gone, accountstatusisactiveordeactivated(#173). account update --emailon another account now answers 403forbidden; help and docs say so (#173).docs/clianddocs/manregenerated withbin/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)