Let your openclaw AI agent trade on Eterna using the eterna CLI.
Install and authenticate the Eterna CLI:
npm install -g @eterna-hybrid-exchange/cli
eterna loginAs a plugin (recommended — more versatile):
openclaw plugins install @eterna-hybrid-exchange/openclaw-pluginAs a skill (for users who prefer skills):
openclaw skills install @eterna-hybrid-exchange/eterna-trading-skillTeaches the agent to use the eterna CLI for trading operations:
eterna balance— check account balanceeterna positions— view open positionseterna orders— view active orderseterna execute <file>— execute TypeScript trading codeeterna sdk --search <query>— browse SDK method docs
A guided 5-phase onboarding flow for new end users (Discovery → Trust Building → First Deposit → First Trade → Preferences). Activate with /eterna-trading:onboarding or by asking the agent to onboard you.
Not suitable for fully autonomous trading agents — it assumes a human user is present.
First release only: npm OIDC trusted publishing must be configured before tagging. In the npm UI, go to each package's settings and enable "Granular access tokens" with the GitHub repo as the trusted publisher. If OIDC is not yet configured, add a
NODE_AUTH_TOKENsecret to the GitHub repo instead and addenv: { NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} }to the publish steps in.github/workflows/release.yml.
- Update
versioninpackage.jsonandpackages/skill/package.jsonto the same value - Commit:
git commit -m "chore: bump version to X.Y.Z" - Tag and push:
git tag vX.Y.Z && git push origin vX.Y.Z - GitHub Actions verifies version consistency and publishes both packages automatically
MIT