Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Ebti

Ebti

One story for every market.
Solana, Robinhood Chain, and a spreadsheet become the same kind of sentence.

License Node Tests

A trade on Solana, a mint on Robinhood Chain, and a buy in a brokerage file do not look alike. Ebti reads all three and writes one line you can read:

2026-11-30 00:00 UTC — 7EqQ…F6nL on Solana swapped 2 SOL for 250 USDC.

Each line still has a proof. Change the record, and the proof no longer matches.

Try it

Node 22 or newer.

npm install
npm test
npm run demo

The demo builds one log from the three samples and checks it. You will see who did what, then: All 8 records match their proof.

Your own files:

npx ebti build --out out/events.jsonl \
  --solana fixtures/solana.json \
  --robinhood fixtures/robinhood.json \
  --file fixtures/trades.csv

npx ebti show --events out/events.jsonl
npx ebti report --events out/events.jsonl
npx ebti verify --events out/events.jsonl

show is the story. report is the short count plus the story. verify checks that nobody edited a row. query prints the raw records when you want the data.

npx ebti show --events out/events.jsonl --asset USDC
npx ebti query --events out/events.jsonl --action swap

What the demo says

8 records.

Where they came from
  Robinhood Chain — 4
  Solana — 2
  Brokerage file — 1
  File — 1

What happened
  swap — 3
  mint — 2
  buy — 1
  list — 1
  sell — 1

In plain words
2026-11-30 00:00 UTC — 7EqQ…F6nL on Solana swapped 2 SOL for 250 USDC.
2026-11-30 00:01 UTC — 7EqQ…F6nL on Solana minted 1 WIDGET #1.
2026-11-30 00:10 UTC — 0x11…1111 on Robinhood Chain minted 1 WIDGET #7.
2026-11-30 00:11 UTC — 0x11…1111 on Robinhood Chain swapped 25 USDC for 0.001 ETH.
2026-11-30 15:04 UTC — acct-1 in a brokerage file bought 10 AAPL for 25000 USD.

SOL is shown in SOL, not lamports. USDC is shown in USDC. ETH is shown in ETH. A stock with no decimals stays as the number in the file. Set decimals on the asset when you know them.

The record underneath

The sentence comes from one JSON record. id is a hash of that record. The sample below is the first Solana swap.

{
  "id": "89fa49dc0383f184fec18af001d5ce51c2758ecb4e8a6a72cc52e7b2453ae378",
  "venue": "solana",
  "account": "7EqQdEULxWcraVx3mXKFjc84LhCkMG78XXQqHj3nF6nL",
  "action": "swap",
  "asset": { "kind": "token", "symbol": "USDC", "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" },
  "amount": "250000000",
  "quoteAsset": { "kind": "native", "symbol": "SOL", "address": "native" },
  "quoteAmount": "2000000000",
  "time": "2026-11-30T00:00:00.000Z",
  "proof": {
    "method": "signature",
    "ref": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
    "block": "312000111",
    "chainId": "solana",
    "contentHash": "89fa49dc0383f184fec18af001d5ce51c2758ecb4e8a6a72cc52e7b2453ae378"
  }
}
FieldIn the sentence
accountWho
actionswapped, bought, sold, minted, moved, listed
asset and amountWhat they received or moved
quoteAsset and quoteAmountWhat they gave
timeWhen, in UTC
proofThe transaction or the file line it came from

Hash rules are in docs/event-format.md.

Where a row can come from

  • Solana. Wallet balance changes. One asset in and one asset out is a swap. A tiny SOL fee is ignored. A failed transaction is skipped.
  • Robinhood Chain. Chain id 4663. Mints, swaps, and an explicit list, cancel, or fill.
  • A file. A CSV. Use the venue column to name the source, such as a brokerage export. Amounts are whole base units. Add asset_decimals when the file should be spoken in human units.

Proof

ebti verify recomputes the hash. The proof points at the Solana signature, the Robinhood Chain transaction, or file:line. It does not re-run the chain. It tells you the row still matches the source it was sealed from.

License

MIT. See LICENSE.

关于 About

Open-source market event engine. Solana, Robinhood Chain, and file imports become one record: who, action, asset, time, and a proof you can recompute.
blockchainclicryptocurrencydefiethereummarket-dataopen-sourcesolanatradingtypescript

语言 Languages

TypeScript100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
6
Total Commits
峰值: 6次/周
Less
More

核心贡献者 Contributors