Polar Sync — Oct to November Developer Update

Polar Sync
4 min readDec 19, 2022

--

Live Uniswap Demo

May 2022
We completed a full sync of all data on the blockchain for the Uniswap V2 subgraph in 32 hours. The Graph would take roughly 200 days to finish utilizing the same hardware.

August 2022
We hit a new milestone, fully syncing Uniswap-V2 in under 10 hours 🔥

➡️ Now
Live public demo is available at 👇
https://uniswap-v2.polarsync.app

BSC to ETH Migration

The utility token for Polar Sync ($POLAR) migrated to the Ethereum network November 10th, 2022.

$POLAR Ethereum contract address 0x58fcaa970339a9b1f8c0a5b4f3fcd7af2ba3075e

All token tracking sites have been updated to reflect the new information

Since the token migration to the Ethereum network the old BSC Polar Sync token is no longer tied to the Polar Sync project and is effectively a legacy token.

Info about the migration can be found here, https://medium.com/@Polar_Sync/polar-is-migrating-to-ethereum-1f74d45b3487

LlamaPay.io Beta Testing

In the month of September we began to explore options to beta test our service. We had the privilege to work with the LlamaPay team to convert their existing (The Graph) subgraph into a Polar Sync map. We achieved this goal and are currently providing live data on their website for Binance Smart Chain.

“LlamaPay is a multi-chain protocol that allows you to automate transactions and stream them by the second. Recipients can withdraw these funds at any time, eliminating the need for manual reoccurring payment transactions.”

An amazing service that allows you to automate and stream salaries on the blockchain. So many possible use cases here, check them out if you have time, https://llamapay.io/

Both ETH and BSC Polar Sync endpoints for Llama pay are available to test here,

https://api.polarsync.app/eth/defillama/llamapay
https://api.polarsync.app/bsc/defillama/llamapay

Production Environment

Since inception we have been in a constant research and development cycle of building out our new data indexing tech, improve and study efficacy, and testing. Working with LlamaPay has been a great starting point for us to establish a production environment for a live endpoint and improve on it.

In our last developer update we mentioned that we brought a new member to the team, a Dev Ops engineer. His role in the expansion of our internal deployment infrastructure has been invaluable. With his help we have improved our blockchain node reliability, as well as implemented monitoring for infrastructure and deployed Polarmaps.

Some of these updates included adding redundant full nodes for both BSC and ETH to ensure reliability, deploying a XRP node for internal testing, initiate monitoring system for all nodes and API endpoints/Polarmaps alongside an alert system, and continued work on infrastructure as code systems to support automated builds and deployments.

Polar Sync Core

As we hit new milestones in our business and software development goals the Polar Sync indexer continues to be improved. Following up from our previous post we have completed the majority of updates we set out to achieve the last two months. There is quite a few changes made and the best way to break them up was into these three categories

Processing

Failover logic for indexers.
More configurable, error handling for trigger parsing.
Add the ability to remove event sources dynamically at runtime
Fix Ethereum triggers for blocks and transaction trigger kinds.
Flesh out the traits and types for dealing with block ranges.

Blockchain / Network

Fixes and improvements for Ethereum type handling.
Fix Ethereum triggers for blocks and transaction trigger kinds.
Fixes and improvements for the Ethereum network implementation.
Better handle multiple node providers, providing information about their capabilities.

Database / GraphQL

Fix nested filters in the GraphQL queries so they are applied properly.
Block data can now be queried via the GraphQL.
Fixes and improvements for GraphQL interface.
Add GraphQL alias support for fields on indexed types.
Force GraphQL query pagination (configurable).
Allow configuration of max number of results per query.
Add support for all the kinds of derived queries, achieving parity with “TheGraph” implementation.
Optimize queries so we only fetch the necessary fields from the database to resolve them.
Optimize order by clauses in graphql.
Add support for querying and indexing array types

Future Roadmap Items

XRP chain support
Developer API and Dashboard
Automated deployment of Polarmaps

Community

Stay up to date with the latest updates,
Twitter 👉 https://twitter.com/Polar_Sync
Telegram to engage with the community 👉 https://t.me/PolarSync

--

--