跳到主要内容

15 篇博文 含有标签「Aptos」

查看所有标签

Improving dashboard with API usage monitor

· 阅读需 1 分钟
Dora Noda
Software Engineer

Many of our customers asked us to improve how we measure API consumption. So today, an API usage monitor is added to the dashboard.

BlockEden.xyz API usage monitor

The chart above shows a test customer's daily requests in the last seven days. The requests are measured in compute units. A compute unit estimates how many resources an API method consumes on BlockEden.xyz. For example, a simple REST request only consumes 1 CU, while a more complex GraphQL request consumes 5 CUs.

Please note that our daily cutoff for the API meter is UTC 00:00 am.

With this new line chart, you can

  • Get more accurate predictions of your API usage.
  • Make better decisions about how to use your APIs.
  • Spend less time worrying about your usage and more time developing your product.

BlockEden.xyz is committed to making it easy for developers to build applications on the blockchain. Our next step is to add basic data analytics for Aptos and support Sui Devnet. If you have any feedback, talk to us at https://discord.gg/GqzTYQ4YNa.

Scalp Empire 与 BlockEden.xyz 合作,将 NFT 分析带入 Aptos 网络

· 阅读需 2 分钟
Jack Sim
Web3 Builder

好消息!针对 Aptos 持有者和 Web3 开发者,Scalp Empire 已与 BlockEden.xyz 合作,将 NFT 分析带入 Aptos 网络。

通过此次合作,BlockEden.xyz 将提供索引数据,以驱动 Scalp Empire 的分析工具。这些工具对于实现成功的 NFT 交易至关重要。如果你想进入 NFT 世界,请务必关注 Scalp Empire!

Scalp Empire 与 BlockEden.xyz 合作,将 NFT 分析带入 Aptos 网络

什么是 Scalp Empire?

Scalp Empire 是一个项目,旨在为我们的持有者提供在 Solana 网络上实现盈利 NFT 交易所需的大部分工具。除了构建由 BlockEden.xyz 索引数据驱动的分析工具外,Scalp Empire 还提供抢购机器人和上架功能。这些工具对于成功的 NFT 交易至关重要。

什么是 BlockEden.xyz?

BlockEden.xyz 是一套为 Aptos 和 Sui 区块链提供动力的 API,支持各种规模的 DApp。我们的软件和 API 服务让你轻松获取区块链数据,从而快速高效地构建 DApp。

我们对 Scalp Empire 使用 BlockEden.xyz 数据构建的成果充满期待!如果你想了解更多关于此次合作或开始接触 NFT,请立即访问 https://www.scalp-empire.com/

Aptos GraphQL API now available at BlockEden.xyz

· 阅读需 2 分钟
Dora Noda
Software Engineer

Bock Eden is glad to add the indexer fullnode GraphQL to our Aptos API and Node Service. This solves the pain point immediately for many DApp developers with a high QPS demand in the Aptos ecosystem.

Without our out-of-box performant API, these developers have to connect to the official servers, which are shared across hobbyist developers with a very restrictive rate limit of 300 requests/hour. This limit is not for production-level products. In this case, developers are forced to run the indexer full node by themselves. And unfortunately, the official guide is confusing and does not cover the entire tech stack.

Now, with BlockEden.xyz's Aptos GraphQL API, developers are now free from worrying about the rate limit or the huge hassle of running their own GraphQL servers.

Here's how to get started...

Step 1. Go to https://blockeden.xyz/dash/. Please sign up if you haven't done so.

Step 2. Input your name for the API key, select Aptos Mainnet Indexer GraphQL, and then click + Create key.

Get Aptos GraphQL Step 1

Step 3. Click the access URL in the table to copy or click Test to get started with the Hasura GraphQL playground.

Get Aptos GraphQL Step 2

Get Aptos GraphQL Step 3

Bungie, who is working on an Aptos wallet, says "This is literally life-saving!"

BlockEden.xyz is committed to growing with the Aptos developers and providing the most tailored and scalable developer infrastructure. This GraphQL feature is exactly the result of listening to our customers. If you are an Aptos developer that needs anything from us, let us know at https://discord.gg/eWZvE4RSBw

让我们聊聊区块链 TPS

· 阅读需 3 分钟
Jack Sim
Web3 Builder

注意:此处引用的指标取自 2022 年 10 月,可能已不再反映当前网络性能。

在 Aptos 主网启动的第一天,社交媒体上出现了一些令人困惑的讨论——

TPS 是每秒交易数(transactions per second)的缩写,用于衡量网络流量的规模。讨论 TPS 时有多种情形:

  • Max TPS 表示区块链能够支持的最大网络流量。这取决于链达成共识并生成新区块的速度,以及区块大小(例如 BTC)或区块的 gas 限制(例如 Ethereum)。对于以太坊及其后继支持智能合约的区块链来说,更合理的限制是 gas,因为不同的交易(例如 1 对 1 的代币转账 vs 多 NFT 铸造)具有不同的计算复杂度,需要统一计量。也就是说,max TPS 并不是衡量链吞吐量的严格指标,真正的指标是 max gas per second。那么开发者如何得到 max TPS 的数值?通常通过实验得到——在网络条件良好、验证者全部可用且使用最简单的交易时的上限。

  • Actual TPS 是区块链在运行时的当前流量规模。它主要取决于网络的繁忙程度。Aptos 主网启动时,dApp 仍不多,持有 Aptos 代币的用户也少,因此当时的业务量不大,实际 TPS 较低。这就是当时实际 TPS 低的原因。不过,实际 TPS 的上限受 max TPS 限制。所谓的以太坊拥堵,就是实际 TPS 已经达到 max TPS,无法再处理更多交易,并且必须等待的状态。

因此,Aptos 的高 max TPS 将在生态系统成熟时展现优势,届时我们仍能看到几乎即时的交易结算和低交易费用。

接下来,回到 BlockEden.xyz 的用户。我们提供不同层级的 节点 API 服务,主要区别在于 QPS(每秒查询次数)的限制。免费层级基本为 1 QPS,Pro 层级为 10 QPS。这表示每秒可以发起多少次 REST API 调用。这与区块链每秒能结算多少笔交易不同。当你调用 REST API 时,不仅可以进行写操作(即发送交易),还可以进行大量读操作(例如获取账户信息、获取区块、获取交易)。

如果你还未注册我们的服务,请访问此链接免费开始。

Announcing Aptos REST API Service

· 阅读需 2 分钟
Dora Noda
Software Engineer

BlockEden.xyz is committed to growing with the Aptos and Sui developers and providing the most tailored and scalable developer infrastructure. Thus we have been serving Aptos mainnet since its day-one launch.

In this tutorial, we will share step-by-step tutorials on connecting to Aptos mainnet by using BlockEden.xyz Node Service.

How to connect to Aptos mainnet?

Step 1. Go to https://blockeden.xyz/dash/. Please sign up if you haven't done so.

Step 2. Input your name for the API key, select Aptos Mainnet, and then click + Create key.

create Aptos mainnet api key

Step 3. Grab your access URL by clicking it and copying it to the clipboard.

Aptos mainnet api key

Step 4. Use the access URL in your project like the following. Remember to replace 42424242424242424242 with your own key.

import { AptosClient } from "aptos";

const client = new AptosClient(
"https://aptos-mainnet.blockeden.xyz/42424242424242424242",
);
const block = await client.getBlockByHeight(1);
console.log(block);

About BlockEden.xyz

BlockEden.xyz is a San Francisco-based software company that helps web3 developers connect to the Aptos network instantly and securely. Our mission is to build an all-inclusive platform for web3 developers in the next five years, starting with a genesis product that could immediately serve the Aptos developer community's needs. We are committed to making it easy for developers to get started building on blockchain technology, and we believe our platform will play a key role in bringing about mainstream adoption of web3 applications.

Join Our Community

Join our community to learn more about BlockEden.xyz and stay up to date! Discord | Twitter

Genesis of BlockEden.xyz

· 阅读需 4 分钟
Dora Noda
Software Engineer

Hello, world! We are a group of software engineers from the San Francisco Bay Area, building BlockEden.xyz - a suite of APIs powering DApps of all sizes for Aptos and Sui blockchains. Why are we doing this?

Genesis of BlockEden.xyz

We were fascinated by the Bitcoin whitepaper and its disruptive technology back in 2012 and then started to build our own blockchain and its ecosystem at IoTeX in 2017. During the trip, along with the fast-moving industry, we find that:

  1. There are huge gaps between developers and new blockchains. Blockchain installment is like software in the 90s - complex, slow, error-prone, and unscalable.
  2. Web3 developer experience is quite fragmented. Blockchain raw data, derived data, API, push notification, blob store - all those APIs are scattered into different places for the developers to find out and make integrations.

Usually, DApp developers run their own blockchain node or purchase an API service; unfortunately, API service is not quite available for new blockchains like Aptos and Sui.

BlockEden.xyz is here to help -

We bring an API cloud SaaS to developers so they do not have to run and maintain their own blockchain nodes and services. (Starts to build in 10s, instead of spending 20 hours to start, countless hours to maintain!) We get started by serving unique developer tools and data to the Aptos and Sui ecosystem.

The developers could call our standard blockchain and GraphQL APIs with access keys, and use our dashboard to inspect blockchain data schemas, write SQLs and manage their access keys.

How are we different from other blockchain service vendors?

BlockEden.xyz vs. Ankr, NodeReal, Alchemy, and Shinami - Node RPC Services

We are a chain node vendor and we deep dive into the Move-language blockchains by providing unique APIs and services that developers cannot find elsewhere.

Block EdenAnkrNodeRealAlchemyShinami
Aptos RPC
Aptos Data Analytics
Aptos GraphQL
Sui RPC
Sui Data Analytics✅ WIP
Sui GraphQL✅ WIP
Ethereum RPC

BlockEden.xyz vs. Dune Analytics, Flipside Crypto - Data Service

We have no intention of being a web3 data infra for all blockchains.

Blockchain data is all public - Homogeneous content, quality and SLA won’t outrun category leaders. Web3 innovators want painkillers for specific pains, not one-stop shop vitamins for everything. Thus, we aim to be a category leader for Move language blockchains and avoid direct competition with established late-stage businesses.

Although we can build the general-purposed data infra, we think the costs are too high while the profitability is too low to target data analysts and researchers. So instead, we focus on builders, run lean, and persevere.

Block EdenDune AnalyticsFlipside Crypto
Focusing on data analysts
Focusing on developers
Omnichain / multichain
Aptos and Sui blockchains
Write SQL to query
Call GraphQL to query

Going beyond

Node RPC service is just a starting point for BlockEden.xyz. Compared to the crowded data infra space, we think there is vast room for innovations to bridge the gap between web3 developers and blockchain vendors.

In the past five years, we have built a top-50 blockchain, SDK, wallet, DEX, staking portal, decentralized e-commerce, and many more DApps. Now, we are sourcing the best technologies into a unified API and service suite, so that web3 developers like ourselves could focus on building their magic, without the hassle of maintaining a blockchain and its utilities.

In the incoming five years, if your mission is to build the killer app to bring web3 to everyone on the planet, then our mission is to be your best ally. Together, we fight for the next-generation decentralization innovations.