While competition fosters innovation, the proliferation of different blockchains has resulted in the fragmentation and isolation of liquidity within each ecosystem. Early attempts to address this issue primarily involved bridges and wrapped assets. Unfortunately, these solutions were often vulnerable to hacks and exploits, and the value of wrapped assets was contingent on the security of the wrapper contract, rather than the underlying asset. Cross-chain swaps of native assets hold the promise of resolving liquidity fragmentation, but numerous technological challenges must be overcome to make them as seamless as same-chain swaps.Epicenter, December 2023
# Search
curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "mw4mGdG7QjRafulf8Bhh0sqv4Kb_E-4v2su9e8gAbaE", "query": "What is alexanDRIA library?"}'
# Query
curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "mw4mGdG7QjRafulf8Bhh0sqv4Kb_E-4v2su9e8gAbaE", "level": 2}'