Datamine NetworkDatamine NetworkCommunity

Datamine Network Reduces Ethereum API Calls by 30x

Hey guys,

Somehow I managed to blast through the remaining work for block times and put it up on production!

Now that we can finally guess block times I am expecting the number of calls to Ethereum API is reduced by 20-30x ! This will also save us gigabytes of storage. Currently Datamine Network database is sitting at 2.6GB of data!

I have more planned for the future to reduce this even further. For now I feel like as long as we do under 50,000 Ethereum API calls per day we're in a good spot.

With block times out of the way I can jump onto bigger and better things! There are a ton of updates to come for Uniswap V3 so be sure to stay tuned 🔥

· hodlforjesus · #dev-updates

Optimizing On-Chain Analytics with Block Time Estimation

Hey guys,

Wanted to give you an update on the global block time data point.

Today I've been able to estimate timestamp of our first block using the following:

Knowing block 10027210 is at timestamp of 1588962334

Find timestamp of block 10027240

Difference between two blocks is 30 blocks. The current threshold of block estimation is (+-276 which is derived from (60 / avgBlockTimeSeconds) * 60)

Estimated timestamp: Friday, May 8, 2020 18:32:04

Actual timestamp: Friday, May 8, 2020 18:33:30

As you can see we are pretty close to the actual timestamp. For our needs an error rate of 60 minutes is acceptable. If we find this is not accurate enough we can always reduce our estimates.

This block time estimation is very powerful and will save us on a ton of resources. In the future there might be better ways to fetch block times and we will utilize these apis but for now this is perfect!

There is still a few more tweaks to do but I expect we'll make good progress in the next two days. Don't forget this will apply to all of the current data points. Also note that this will no impact historic USDc pricing as that doesn't use timestamps.

Be sure to stay tuned as we power through this small roadblock and pave way to more scalable smart contract analytics. 🔥

· hodlforjesus · #dev-updates

Datamine Network Optimizes Ethereum API Calls and Scalability

Hey guys,

Hope you are enjoying the Uniswap V3 updates and small tweaks like the inflation %. I need to spend a couple of days creating a new central data point for block times. We're starting to do over 50,000 requests every day to infura (Ethereum API).

This new central data point for block times will allow us to approximate transaction times (as opposed to them being perfectly accurate). This central estimation will save a us a lot of API calls and allow us to continue adding more advanced analytics.

This is something I wanted to get to for a while but there wasn't much of a rush, but now we're very close to hitting our 100,000 requests limit so there is more urgency.

After that I'll be going back to Uniswap V3 analytics. Even though there aren't that many transactions yet due to high gas fees, we're preparing for the flood gates to open when ETH 2.0 sharding fixes the gas issues.🔥

Datamine Network Optimizes Ethereum API Calls and Scalability

· hodlforjesus · #dev-updates

Datamine Network Integrates Custom Uniswap V3 On-Chain Data

Hey guys,

Wanted to show you a sneak peek at the progress with the new Uniswap V3 data point. Currently even Uniswap Info does not feature this information so it's nice to be able to utilize the network to extract more details that are not public.

A few more tweaks, planning to get this up and running for you Tomorrow to play with.

After this update we'll jump to ledgers and make a few tweaks so the ledgers will properly Identify Uniswap V3 transactions. Super exciting week as things are finally coming together! 🔥

Datamine Network Integrates Custom Uniswap V3 On-Chain Data

· hodlforjesus · #dev-updates

Datamine Network Integrates Advanced Uniswap V3 Analytics

Hey guys,

I've just completed our first multi-smart contract streaming into Datamine Network data point. This means we combine the Uniswap NFT Smart Contract together with the Uniswap Pool contract to get some advanced analytics.

**Why was this necessary? Can't you just take the analytics from Uniswap Pool Smart Contract? **

When you mint a Uniswap NFT all further transactions (such as transferring ownership) happen in a separate ERC 721 contract. This means if you just take data from Uniswap Pool Smart Contract you won't be able to accurately identify who currently owns NFT.

Tomorrow I will add this data point to the frontend and try to release it by Tuesday. For this initial version you'll be able to see:

  • How much FLUX & ETH is locked-in the Uniswap NFT

  • Who owns the NFT at the moment (this was the tricky part)

  • Tick range (This will be expanded in the future to show proper ETH/FLUX ranges based on Uniswap formulas)

  • Pool Ownership % (Based on minted liquidity tokens)

Pretty sure we're the first to offer such in-depth analytics for Uniswap V3 and we're just getting started!

Be sure to follow the updates as we roll out this first Uniswap V3 data point 🔥

Datamine Network Integrates Advanced Uniswap V3 Analytics

· hodlforjesus · #dev-updates

Datamine Network Launches Real-Time Uniswap V3 Analytics

Hey guys I just finished adding Uniswap V3 FLUX / ETH into Datamine Network.

That means we will get same real-time instant analytics you have come to know and love.

We'll be one of the first analytics companies in the world to perform deep real-time V3 analytics, and the ultimate goal is for you to make better trading decisions.

Expect a new V3 real-time data endpoint to play around with this weekend on the network! 🔥

Datamine Network Launches Real-Time Uniswap V3 Analytics

· hodlforjesus · #dev-updates

Datamine Upgrades Real-Time Pricing to Uniswap V3 Formula

Hey guys,

I have updated the real-time dashboard prices Today to use the v3 formula (sqrtPriceX96*sqrtPriceX96)/(2^192) the display is the same as current version but the formula with how we get there changed as we're getting away from the old V2 reserves.

I recommend everyone reads this Twitter thread by Uniswap creator: https://twitter.com/haydenzadams/status/1374795486398459908 to understand why V3 is the world's greatest AMM.

You might also find the whitepaper useful: https://uniswap.org/whitepaper-v3.pdf

Tomorrow I will start adding V3 to DeFi analytics and starting to add new data points for V3.

V3 has a lot more interesting data to go through and we'll get much more accurate ROI calculations now. Be sure to stay tuned as we dig deep into Uniswap V3! 🔥

· hodlforjesus · #dev-updates

Datamine Launches Mobile Dashboard Upgrades and Uniswap V3 Pools

Hey guys,

Just 2 days will things get really busy again. Planning to add a couple more mobile tweaks to Decentralized Dashboard tomorrow and put it up for you to play with.

Uniswap v3 pools are coming in just 2 days so there is a lot to be hyped about! 1% pools will make both DAM & FLUX liquidity pools MUCH more lucrative.

I think you guys will really enjoy these small mobile tweaks. I will be using the mobile more so we'll keep doing small iterations like these.

Check out how I've cleaned up the liquidity card. I want you to be able to see real-time liquidity and prices on-the-go, right in your pocket.🔥

Datamine Launches Mobile Dashboard Upgrades and Uniswap V3 Pools

· hodlforjesus · #dev-updates

Datamine Network Upgrades Mobile Dashboard for Uniswap V3

Hey guys,

Got a couple of days till Uniswap v3 so decided to take this time to make some more mobile updates to the Decentralized Dashboard.

I've added a bunch of mobile helpers to help us break-down the data in card into more bite-sized sections. This way you get same amount of information while taking up fraction of horizontal space.

Be sure to follow for more updates as next week is super busy as we have to migrate Decentralized Dashboard & Analytics to Uniswap v3 1% pools. 🔥

Datamine Network Upgrades Mobile Dashboard for Uniswap V3

· hodlforjesus · #dev-updates

Datamine Launches Mobile UI Optimization for DeFi Analytics

Hey guys,

We've got about 2 weeks for Uniswap v3 1% pool pairs so during this downtime I've decided to make some mobile updates.

For Today's set of updates I've reworked the header on the DeFi analytics tab. Now the search will span the entire width of the header on mobile so it'll be pretty clean UX.

I've also broke up the token selection to be a little bit more clean so it doesn't take up so much vertical space.

This week I'll be going through many pages/widgets and iterating Mobile experience. Mobile optimizations are an "easy win" as Metamask mobile is on the rise. I want to make sure users have great experience browsing Datamine Analytics from any device/anywhere in the world. 🔥

Datamine Launches Mobile UI Optimization for DeFi Analytics

· hodlforjesus · #dev-updates

Previous Next