Commit graph

47 commits

Author SHA1 Message Date
jakobsn
885dde9534 Resolve "Panic occurred: attempt to multiply with overflow" 2025-10-03 13:32:37 +00:00
Jakob Notland
7e7f5b9bc7 Expose first pool created timestamp 2025-09-17 11:11:21 +02:00
jakobsn
f83f472656
Goodsearchandsort 2025-09-05 13:53:10 +00:00
Dagur Valberg Johannsson
14a7486c1d
rpc: Add /volume endpoints
Add /volume endpoints that use the new token/sats delta entries for
faster volume queries.
2025-08-18 09:53:40 +02:00
Dagur Valberg Johannsson
6c13775475
Add simple db version check 2025-08-15 22:26:03 +02:00
Dagur Valberg Johannsson
e2cd74f68c
Delay CRC20 indexing
Delay indexing CRC20 details; as the electrum queries can be slow and
interfere with the indexing.
2025-08-15 21:06:35 +02:00
Dagur Valberg Johannsson
7d9352cf53
Fix clippy issues 2025-07-16 13:52:46 +02:00
jakobsn
b17b8a3947 Resolve "Oracle prices" 2025-06-17 14:04:26 +00:00
Dagur Valberg Johannsson
3d83bdee47 Merge branch 'candlesticks2' into 'master'
Candlesticks2

See merge request riftenlabs/riftenlabs-indexer!20
2025-06-17 13:22:46 +00:00
jakobsn
d1e265cf2f Candlesticks2 2025-06-17 13:22:46 +00:00
Dagur Valberg Johannsson
8b16e3d1f3
bump minor deps 2025-06-12 10:08:22 +02:00
Dagur Valberg Johannsson
78e391560f
Added support for delphi oracle
This allows fetching historical asset prices from the blockchain.
2025-05-21 13:33:26 +02:00
Dagur Valberg Johannsson
ebe63ce932
Improve db initialization 2025-02-14 18:35:12 +01:00
Dagur Valberg Johannsson
33aebb0318
bug: Foreign keys not enforced
sqlite was not properly enforcing foreign keys, keeping conflicted
transactions in the database
2024-12-19 13:21:57 +01:00
Dagur Valberg Johannsson
b1e88ff261
rpc: Add pool history call 2024-11-13 11:28:27 +01:00
jakobsn
1248929fb4 Search tokens 2024-10-31 10:55:29 +00:00
Dagur Valberg Johannsson
b4b9bf1eb5
Make rostrum server configurable
New default set to localhost
2024-10-25 15:22:44 +02:00
Dagur Valberg Johannsson
e4e7ec3b71
Add aggregated APY endpoint
Add an endpoint that gives a APY value across multiple micro-pools
2024-10-23 16:54:06 +02:00
Dagur Valberg Johannsson
751c1df6a7
Add CRC20 index 2024-10-21 13:35:24 +02:00
jakobsn
07c75b1a7e Tokens page 2024-10-14 11:18:50 +00:00
Dagur Valberg Johannsson
5aebe7bdaf
Use package electrum-client-netagnostic
Replace package that pointed at a git repo with
electrum-client-netagnostic.
2024-10-08 22:15:46 +02:00
Dagur Valberg Johannsson
528cc79725
API call for latest transactions 2024-09-25 13:39:06 +02:00
Dagur Valberg Johannsson
cd6ce4d4ef
Add well-known BCMR sources
This adds additional BCMR data sources, mainly OTR.
2024-09-10 22:39:30 +02:00
Dagur Valberg Johannsson
675b3f08f9
rpc: Unique addresses
RPC method to show number of unique addresses interracting with cauldron
2024-09-04 13:25:36 +02:00
Dagur Valberg Johannsson
3ba04dfd58
Cache list_by_volume call
This is an expensive call used by all users of Cauldron DEX; cache for
60 seconds.
2024-05-29 08:46:35 +02:00
Dagur Valberg Johannsson
e38eaaa26c
Add BCMR indexer
This adds BCMR indexer, including downloading and parsing the actual
BCMR files.
2024-05-27 11:56:35 +02:00
Dagur Valberg Johannsson
49730f27ca
chore: Fix clippy issue 2024-05-06 11:18:05 +02:00
Dagur Valberg Johannsson
76f0dcdb31
rpc: List pools by token and pkh 2024-04-03 21:45:18 +02:00
Dagur Valberg Johannsson
17f0d6017f
Add contract count for specific token 2024-04-03 21:44:42 +02:00
Dagur Valberg Johannsson
1b38f65224
Add 'valuelocked' endpoints 2024-04-03 21:44:42 +02:00
Dagur Valberg Johannsson
b80b1144da
api: current price 2024-04-02 13:17:25 +02:00
Dagur Valberg Johannsson
c8ca5cc698
Add volume endpoint 2024-03-21 11:15:44 +01:00
Dagur Valberg Johannsson
e52314c138
rpc: Add contract count
Fixes #2
2024-03-18 12:34:46 +01:00
Dagur Valberg Johannsson
a4c194ff3e
Enable foreign key pragma with every connection 2024-03-14 15:00:38 +01:00
Dagur Valberg Johannsson
21a57554f8
Add sqlite connection pool 2024-03-14 12:14:55 +01:00
Dagur Valberg Johannsson
1c817c8cfd
Add support for calculating pool APY 2024-03-14 10:54:33 +01:00
Dagur Valberg Johannsson
1912b18f8d
Handle orphaned blocks 2024-03-01 09:49:40 +01:00
Dagur Valberg Johannsson
cd22aa8d70
Track transactions in the mempool 2024-02-16 14:18:41 +01:00
Dagur Valberg Johannsson
168670c9bf
Support block reorgs 2024-02-14 11:11:16 +01:00
Dagur Valberg Johannsson
1d5f4a845c
history: Remove empty intervals from result 2024-02-06 11:47:17 +01:00
Dagur Valberg Johannsson
0be0cd8b63
Add price history API call 2024-02-05 16:32:42 +01:00
Dagur Valberg Johannsson
b8943fb48d
Add CORS 2024-01-19 14:38:31 +01:00
Dagur Valberg Johannsson
b4305a07de
rpc: list_tokens update
Improve volume calculation; add additional fields
2024-01-19 14:03:23 +01:00
Dagur Valberg Johannsson
2387888017
Add call to list token by utxo volume
UTXO volume is a decent proxy for token activity.
2024-01-19 11:28:49 +01:00
Dagur Valberg Johannsson
0a07407546
Format fixes 2024-01-05 14:21:50 +01:00
Dagur Valberg Johannsson
61157dd65a
Add CI
Add basic CI build. Also, move tvl route to /cauldron/
2024-01-05 14:19:21 +01:00
Dagur Valberg Johannsson
69405d035a
Initial commit 2024-01-05 13:59:11 +01:00