demos-adapter
Deploy and Host demos-adapter with Railway
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
absinthelabs/absinthe-demos:demos
absinthelabs/absinthe-demos:demos
Just deployed
Demos Adapter
Sparkle Protocol is a high-performance onchain data indexer designed to efficiently capture, process, and serve blockchain data in real-time. Built for developers who need reliable access to blockchain events, transactions, and state changes, Sparkle provides a robust infrastructure layer for decentralized applications.
Features
- Real-time Indexing: Captures blockchain data as it happens with minimal latency
- Multi-chain Support: Compatible with Ethereum, Polygon, Arbitrum, and other EVM-compatible networks
- Flexible Querying: GraphQL and REST APIs for seamless data retrieval
- Event Filtering: Custom filters for specific contracts, events, and transaction types
- Scalable Architecture: Handles high-throughput networks with horizontal scaling capabilities
- Data Persistence: Reliable storage with configurable retention policies
Quick Start
Preconfigured:
RPC_URL_MAINNET=https://eth.llamarpc.com RPC_URL_HEMI=https://rpc.hemi.network/rpc
ABS_CONFIG='{"balanceFlushIntervalHours":6,"dexProtocols":[{"type":"uniswap-v2","chainId":1,"toBlock":0,"protocols":[{"name":"PEPE/WETH Pool","contractAddress":"0xa43fe16908251ee70ef74718545e4fe6c5ccec9f","fromBlock":17046833,"pricingStrategy":"coingecko","token0":{"coingeckoId":"pepe","decimals":18},"token1":{"coingeckoId":"weth","decimals":18},"preferredTokenCoingeckoId":"token1"}]},{"type":"izumi","chainId":42161,"toBlock":0,"protocols":[{"name":"WETH/ hemiBTC Pool","contractAddress":"0xa43fe16908251ee70ef74718545e4fe6c5ccec9f","fromBlock":1276815,"pricingStrategy":"coingecko","token0":{"coingeckoId":"weth","decimals":18},"token1":{"coingeckoId":"btc","decimals":8},"preferredTokenCoingeckoId":"token1"},{"name":"VUSD/ WETH","contractAddress":"0xa43fe16908251ee70ef74718545e4fe6c5ccec9f","fromBlock":1274620,"pricingStrategy":"coingecko","token0":{"coingeckoId":"vesper-vdollar","decimals":18},"token1":{"coingeckoId":"weth","decimals":18},"preferredTokenCoingeckoId":"token1"}]}],"bondingCurveProtocols":[{"type":"printr","name":"Printr Base","contractAddress":"0xbdc9a5b600e9a10609b0613b860b660342a6d4c0","chainId":8453,"toBlock":0,"fromBlock":30000000},{"type":"vusd-mint","name":"VUSDMint","contractAddress":"0xFd22Bcf90d63748288913336Cd38BBC0e681e298","chainId":1,"toBlock":0,"fromBlock":22017054},{"type":"demos","name":"Demos","contractAddress":"0x70468f06cf32b776130e2da4c0d7dd08983282ec","chainId":43111,"toBlock":0,"fromBlock":1993447},{"type":"voucher","name":"Voucher","contractAddress":"0xa26b04b41162b0d7c2e1e2f9a33b752e28304a49","chainId":1,"toBlock":0,"fromBlock":21557766}],"stakingProtocols":[{"type":"hemi","name":"Hemi Staking","contractAddress":"0x4f5e928763cbfaf5ffd8907ebbb0dabd5f78ba83","chainId":43111,"toBlock":0,"fromBlock":1220463},{"type":"vusd-bridge","name":"VUSDBridge","contractAddress":"0x5eaa10F99e7e6D177eF9F74E519E319aa49f191e","chainId":1,"toBlock":0,"fromBlock":22695105}],"univ3Protocols":[{"type":"uniswap-v3","chainId":1,"factoryAddress":"0x1f98431c8ad98523631ae4a59f267346ea31f984","factoryDeployedAt":17046833,"positionsAddress":"0xc36442b4a4522e871399cd717abdd847ab11fe88","toBlock":17051833,"poolDiscovery":true,"trackPositions":true,"trackSwaps":true,"pools":[{"name":"pepe/weth 0.3% pool","contractAddress":"0x11950d141ecb863f01007add7d1a342041227b58","fromBlock":17046833,"feeTier":3000,"pricingStrategy":"internal-twap","token0":{"symbol":"PEPE","decimals":18},"token1":{"symbol":"WETH","decimals":18},"preferredTokenCoingeckoId":"token1"},{"name":"wepe/weth 0.3% pool","contractAddress":"0xa3c2076eb97d573cc8842f1db1ecdf7b6f77ba27","fromBlock":17000000,"feeTier":3000,"pricingStrategy":"internal-twap","token0":{"symbol":"WEPE","decimals":18},"token1":{"symbol":"WETH","decimals":18},"preferredTokenCoingeckoId":"token1"},{"name":"usdc/weth 0.3% pool","contractAddress":"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640","fromBlock":1620250931,"feeTier":3000,"pricingStrategy":"internal-twap","token0":{"symbol":"USDC","decimals":6},"token1":{"symbol":"WETH","decimals":18},"preferredTokenCoingeckoId":"token1"}]}]}' ABSINTHE_API_URL=https://adapters.absinthe.network ABSINTHE_API_KEY=api_key_2
Fill these details :
COINGECKO_API_KEY= (Optional) RPC_URL_BASE=
Deploy and Host
About Hosting
Sparkle Protocol requires dedicated hosting infrastructure to maintain continuous blockchain synchronization. Choose between cloud providers, self-hosted solutions, or managed services based on your performance and reliability requirements.
Why Deploy
Deploy Sparkle Protocol to ensure data availability, reduce API dependencies, and maintain control over your blockchain data pipeline. Self-hosting eliminates third-party rate limits and provides customizable indexing strategies.
Common Use Cases
Perfect for DeFi protocols, NFT marketplaces, gaming applications, and analytics platforms requiring accurate, up-to-date blockchain data. Track token transfers, monitor smart contract interactions, or build comprehensive dashboards with reliable data foundations.
Dependencies for
Deployment Dependencies
- ghcr.io/absinthelabs/absinthe-demos:demos
Template Content
absinthelabs/absinthe-demos:demos
ghcr.io/absinthelabs/absinthe-demos:demosCOINGECKO_API_KEY