Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aftermath Perpetuals CLI

A Bun/TypeScript CLI for the post-relaunch Aftermath V2 Perpetuals API.

Setup

bun install
bun run src/index.ts --help

The default API host is https://v2-preview.aftermath.finance. Override it with:

bun run src/index.ts config set base-url https://example.after-math-host

Integration references

Native /api/perpetuals/* endpoints are preferred for account and advanced order flows. CCXT endpoints remain in use where their exchange-style build/sign/submit contract is the intended behavior. CCXT writes return transactionBytes and signingDigest; sign signingDigest, then submit transactionBytes with signatures[].

balance --account accepts an account capability/account object ID. Position and pending-order commands use the numeric account number.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages