メインコンテンツまでスキップ

「product」タグの記事が8件件あります

全てのタグを見る

境界を超えて: NEAR Protocol の BlockEden.xyz API マーケットプレイスへの統合

· 約5分
Dora Noda
Software Engineer

暗号通貨とブロックチェーン技術の人気が急上昇する中、スケーラビリティの課題が顕在化しています。Bitcoin や Ethereum といったブロックチェーンは、分散型アプリケーション(DApp)や非代替性トークン(NFT)への関心が高まるにつれて需要が増大しています。このため、サンフランシスコ拠点のソフトウェア企業 BlockEden.xyz は、スケーラブルなソリューションを模索しています。そこで登場したのが、2020 年にオープンソースとして立ち上げられた分散型クラウドインフラストラクチャである NEAR Protocol です。

NEAR Protocol の概要

NEAR Protocol はレイヤー 1 ブロックチェーンで、独自のシャーディング技術 Nightshade を用いてスケーラビリティを実現しています。Rainbow Bridge によるクロスチェーン相互運用性や、Aurora と呼ばれるレイヤー 2 ソリューションを提供しています。ユーザーは Ethereum 上の ERC‑20 トークンや資産を NEAR ネットワークへブリッジでき、より高いスループットと低い取引手数料を享受できます。NEAR のネイティブトークン NEAR は取引手数料やデータ保存料の支払いに使用され、トークン保有者は NEAR ウォレットでステークして報酬を得たり、ガバナンス提案に投票したりできます。

NEAR Protocol の開発チームは、シャーディングによるスケーラビリティ課題の解決をミッションとしています。2020 年に Alex Skidanov と Illia Polosukhin が共同創業し、豊富なプログラミングツールや言語、クロスチェーン機能を備えたスマートコントラクトを提供しています。これらのツールに加え、シンプルなオンボーディングプロセスと人間可読なアカウント名により、NEAR は開発者に優しいプラットフォームとなっています。

NEAR Protocol を BlockEden.xyz に統合

NEAR Protocol を BlockEden.xyz の API マーケットプレイスに統合することで、開発者はスケーラブルで安全、かつ効率的な環境で革新的な分散型アプリケーションを構築できます。高いセキュリティと優れた稼働率で知られる BlockEden.xyz は、NEAR の導入により提供価値をさらに拡充しました。

NEAR の中核技術:Nightshade シャーディング

Nightshade は NEAR Protocol の基盤となる革新的なシャーディング技術です。データ処理を複数のバリデータノードに分散させ、各ノードがネットワーク全体の取引のごく一部のみを担当します。これにより秒間取引数(TPS)が大幅に向上し、取引手数料も低減します。ネットワークトラフィックに応じてノード数が動的に調整されるため、全体的な効率性が保たれます。

Rainbow Bridge によるネットワーク間ブリッジ

Rainbow Bridge は NEAR 上のアプリケーションで、ERC‑20 トークン、ステーブルコイン、ラップドトークン、さらには NFT までを Ethereum と NEAR の間で相互転送できます。これによりユーザーは NEAR の高スループット・低手数料環境を活用できます。Bridge は完全にパーミッションレスかつ分散型で動作し、Ethereum 上でトークンをロックし、対応するトークンを NEAR 上に発行して供給量を一定に保ちます。

Aurora で実現する効率性

Aurora は NEAR ブロックチェーン上のレイヤー 2 ソリューションで、秒間数千件の取引を処理し、ブロック確定時間は約 2 秒です。Aurora Engine と Aurora Bridge から構成され、Ethereum 互換性を提供し、Ethereum エコシステムの全ツールが利用可能です。これにより開発者は容易に NEAR へ移行できます。

NEAR トークンでのステーキングとガバナンス

NEAR はエコシステムのネイティブトークンで、取引手数料やストレージ料の支払い手段です。トークン保有者は NEAR をステークしてバリデータノードを運用したり、プラットフォームの意思決定に投票したり、提案を提出したりできます。

結論

ブロックチェーン領域は日々進化しており、低コスト・高スループットを実現するプラットフォームが主流採用を牽引すると考えられます。NEAR Protocol を BlockEden.xyz の API マーケットプレイスに統合したことは単なる機能追加ではなく、未来への重要な一歩です。シャーディングやクロスチェーンブリッジといったスケーラブルな技術により、NEAR は開発者が効率的な DApp や DeFi 製品を構築する理想的な環境を提供します。BlockEden.xyz と共に、NEAR Protocol はブロックチェーン技術の境界を再定義していくでしょう。

BlockEden.xyz Is Marching into IoT Territory

· 約6分
Jack Sim
Web3 Builder

Recently Iotex and BlockEden.xyz partnered together to bring the revolutionary experience to IoT developers. We committed to this mission seriously, and today we want to share 2 exciting updates with ecosystem.

BlockEden.xyz teams up with IoTeX to simplify decentralized IoT Application

IoTeX Delegate

We believe staking is one of most important things for blockchain, because it helps to ensure the integrity of the network by incentivizing participants to act in the best interest of the network.

One of the key benefits of staking is that it makes it more difficult and expensive for bad actors to attack the network. If a participant attempts to validate fraudulent transactions, they risk losing their staked cryptocurrency, as well as any rewards they have earned. This serves as a powerful deterrent to malicious behavior, as it aligns the incentives of participants with the overall health and security of the network.

Now BlockEden.xyz joined IoTeX delegate program, and we have our running delegate! https://stake.iotex.io/delegate/blockedenxyz is our delegate profile. This is our reward plan:

  • Hermes will distribute 88% of the rewards to you automatically. Payout frequency is every day at midnight (UTC time).
  • We take 12% to cover the server and development costs for our collaboration with IoTeX.

Please vote for BlockEden.xyz today! Your support is critical for us to continuously build in the IoTeX ecosystem!

BlockEden.xyz joined IoTeX delegate program

RPC Serivce

BlockEden.xyz's mission is to empower dApps, and we decided to bring this to IoT territory. In additon to the delegate program, we also suported JSON-RPC service for IoTeX. Therefore, if you're a dApp developer on IoTeX blockchain, you no longer need to setup your own IoTeX full node, and just sign up with us to start interacting with IoTeX blockchain from free.

BlockEden.xyz supports IoTeX Mainnet JSON-RPC

Why JSON-RPC first?

IoTeX blockchain provides 2 types of RPC endpoints: gRPC and JSON-RPC, and we choose to support JSON-RPC first because:

  • This RPC type could easily integrate with MetaMask for wallet service.
  • It's the RPC type of Ethereum blockchain and its L2 blockchains. It will be easier for an Ethereum developer to migrate to IoTeX.

gRPC vs JSON-RPC

There are some other deep thinking about gRPC and JSON-RPC. Please let us know your thoughts about whether you want gRPC.

gRPC

Pros:

  • High performance: gRPC is based on the high-performance, low-latency protocol called HTTP/2, which allows for efficient multiplexing of requests and responses over a single TCP connection. This can lead to faster response times and lower network overhead compared to traditional REST APIs that use HTTP/1.1.
  • Efficient data serialization: gRPC uses Protocol Buffers as its default data serialization format, which is more compact and efficient than JSON or XML. This can reduce the amount of network bandwidth and CPU time required to serialize and deserialize data.
  • Language-agnostic: gRPC supports a wide range of programming languages, including Java, Python, C++, and many more, making it a good choice for heterogeneous systems.
  • Built-in support for streaming: gRPC supports both server-side and bidirectional streaming, which can be useful for real-time applications or long-running processes that need to exchange data in real-time.

Cons:

  • More complex setup: gRPC requires a more complex setup compared to JSON-RPC, especially if you're using it with non-standard protocols like HTTP/2 or TLS.
  • Less readable format: While Protocol Buffers are more compact and efficient, they are also less human-readable than JSON, which can make debugging more difficult.
  • Higher learning curve: gRPC uses a different programming paradigm compared to traditional REST APIs, which can make it more challenging for developers to learn and adopt.

JSON-RPC

Pros:

  • Simplicity: JSON-RPC is a simple, lightweight protocol that is easy to learn and use. It can be a good choice for small-to-medium-sized applications or simple microservices.
  • Human-readable format: JSON is a human-readable format that is easy to read and debug, which can be helpful for developers.
  • Flexible: JSON-RPC is a flexible protocol that can be used over a variety of transport protocols, including HTTP, TCP, and WebSockets.
  • Language-agnostic: Like gRPC, JSON-RPC is also language-agnostic and can be used with a wide range of programming languages.

Cons:

  • Lower performance: JSON-RPC uses JSON as its default data serialization format, which can be less efficient in terms of network bandwidth and CPU time compared to Protocol Buffers or other binary formats.
  • Limited support for streaming: JSON-RPC supports only one-way streaming, which may not be sufficient for some real-time applications or long-running processes.
  • No built-in support for service discovery or load balancing: JSON-RPC doesn't provide built-in support for service discovery or load balancing, which means you may need to implement these features yourself.

What is IoTeX?

IoTeX is an open-source platform founded in 2017 with a vision of blockchain for the Internet of Trusted Things. The platform enables various machines and people to interact securely and trustingly with each other. In doing so, IoTeX ensures that everyday people and businesses own their devices and the data/value they generate from them. By connecting physical and digital worlds, IoTeX aims to democratize access to machine-backed DApps, assets, and services while delivering value to users and fueling the new machine economy.

What is BlockEden.xyz?

BlockEden.xyz is a service infra for the developer’s next billion web3 customers. It strives to provide developers with all they need to create powerful applications quickly and scale faster. We have operated Aptos public full node since day 1 of its mainnet launch. We serve managed RPC services to 400+ clients (Scalp Empire NFT Analytics, HoustonSwap, Solaland NFT Toolkit, Fewcha Wallet, etc.) in the ecosystem with zero downtime. We are on our way to becoming a validator for Aptos, Sui, Shentu, and EthStorage.

How to stay in the loop?

For IoTeX, go to

For BlockEden.xyz, go to

Source Link: https://blockeden.xyz/blog/2023/02/20/iotex-validator-and-json-rpc/

Sui WebSocket now available at BlockEden.xyz

· 約3分
Jack Sim
Web3 Builder

Note: This post was written during the Sui devnet phase and some details may be outdated.

We were among the first Sui Devnet JSON-RPC providers. Now we are excited to expand our API Service to WebSocket too. WebSocket would be useful to those dApps that need to take action on real-time on-chain events.

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 Sui Devnet Websocket, and then click + Create key.

create sui ws key

Step 3. Grab your access URL by clicking Copy to copy it to the clipboard.

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

How to use WebSocket?

To quickly play around WebSocket endpoint in the command line, you could use wscat. To download it, run the following command:

npm install -g wscat

Then, run the following command to connect to the WebSocket endpoint (remember replacing with your own API key):

wscat -c wss://sui-devnet.blockeden.xyz/kjz2sTknHkNE9aXQ6j1N

Now in the session, you could give the command. For example, you could say subscribing events that matchin some cerntain criteria:

Connected (press CTRL+C to quit)
> {"jsonrpc":"2.0", "id": 1, "method": "sui_subscribeEvent", "params": [{"All":[{"EventType":"MoveEvent"}, {"Package":"0x2"}, {"Module":"devnet_nft"}]}]}
< {"jsonrpc":"2.0","result":6240320950310564,"id":1}

And you would also observe events being streamed to your console:

< {"jsonrpc":"2.0","method":"sui_subscribeEvent","params":{"subscription":6240320950310564,"result":{"timestamp":1672211297607,"txDigest":"PDPBHEo5pmMeLK8Dc4226MZxUA2dkQK91W2ECHFgN1a","id":{"txSeq":1471806,"eventSeq":2},"event":{"moveEvent":{"packageId":"0x0000000000000000000000000000000000000002","transactionModule":"devnet_nft","sender":"0x35a09652085b5c4c178d9cfe234d8c1a6b89306b","type":"0x2::devnet_nft::MintNFTEvent","fields":{"creator":"0x35a09652085b5c4c178d9cfe234d8c1a6b89306b","name":"Example NFT","object_id":"0x7631724b6eb066b8514c6159f716a8826055ee5e"},"bcs":"djFyS26wZrhRTGFZ9xaogmBV7l41oJZSCFtcTBeNnP4jTYwaa4kwawtFeGFtcGxlIE5GVA=="}}}}}
< {"jsonrpc":"2.0","method":"sui_subscribeEvent","params":{"subscription":6240320950310564,"result":{"timestamp":1672211297614,"txDigest":"XcTtaU28vUsR18ZMRhE7XuMadeUfCj8kTZfHD1Xs8H7","id":{"txSeq":1471807,"eventSeq":2},"event":{"moveEvent":{"packageId":"0x0000000000000000000000000000000000000002","transactionModule":"devnet_nft","sender":"0xc9a7020d260599e06b63baae7504b2ead68a580a","type":"0x2::devnet_nft::MintNFTEvent","fields":{"creator":"0xc9a7020d260599e06b63baae7504b2ead68a580a","name":"Example NFT","object_id":"0xdc2961ac31f550fcae6ac050c4cc5c364f3736c3"},"bcs":"3ClhrDH1UPyuasBQxMxcNk83NsPJpwINJgWZ4Gtjuq51BLLq1opYCgtFeGFtcGxlIE5GVA=="}}}}}
< {"jsonrpc":"2.0","method":"sui_subscribeEvent","params":{"subscription":6240320950310564,"result":{"timestamp":1672211297617,"txDigest":"ZpnGea1XkkzfsBeSCnR37xKvkdCSgjcfp81owD6QS4i","id":{"txSeq":1471808,"eventSeq":2},"event":{"moveEvent":{"packageId":"0x0000000000000000000000000000000000000002","transactionModule":"devnet_nft","sender":"0x96e31283ad37fe2ebbdff635501c9feaa2bd8af7","type":"0x2::devnet_nft::MintNFTEvent","fields":{"creator":"0x96e31283ad37fe2ebbdff635501c9feaa2bd8af7","name":"Wizard Land","object_id":"0xe63f7ee979d23d4ab60b598529dc4136d33f07a8"},"bcs":"5j9+6XnSPUq2C1mFKdxBNtM/B6iW4xKDrTf+Lrvf9jVQHJ/qor2K9wtXaXphcmQgTGFuZA=="}}}}}
...

For more details of subscribing Sui events via WebSocket, please refer to the offical doc.

Misc

To prevent too many outstanding idle connections, we will drop any WebSocket connection that hasn't exchanged data in the past 5 minutes. Client will receive an error code: 1006.

Extending BlockEden.xyz RPC Service to Ethereum Ecosystem

· 約2分
Jack Sim
Web3 Builder

Back to a month ago, we made a public incognito Ethereum mainnet RPC endpoint available to Metamask users (blog post), which attracted and was used by a few users. Now we decided to expand the benefit to our developer customers too!

eth

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 ETH Mainnet, and then click + Create key.

create eth mainnet api key

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

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

To test it, using curl to connect ETH mainnet

curl --location --request POST 'https://eth-mainnet.blockeden.xyz/<access_key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params":[],
"id":73
}'

Why Ethereum Network?

Ethereum network has the biggest developer ecosystem, and there are so many great innovations accumulated over years. Supporting it is going to create significant synergy with Move ecosystem. Many of our customers are not exclusive Move developers. Building a single stop for all needed services makes their life easier.

Enjoy our new service and happy holidays!

Use Incognito BlockEden.xyz Ethereum RPC URL

· 約2分
Jack Sim
Web3 Builder

Starting from Sept 23, 2023, if you use the default RPC URL (aka https://mainnet.infura.io/v3/) in Metamask, your IP address and wallet address will be collected whenever you send a transaction (source).

Some people prefer to keep their identity untracked, and are looking for an alternative RPC URL that doesn’t track user identity. Here BlockEden.xyz gets you covered! We have opened a public Ethereum Mainnet RPC endpoint – https://eth-mainnet-public.blockeden.xyz for free, and we do not trace any user identity of any transactions going through our RPC URL as well as blockchain data reading operations.

To set it up with your Metamask, go to Settings -> Networks, and click “Add a network” on the upper right corner. You can fill in the following info:

Setup BlockEden.xyz ethereum rpc url in Metamask

Then, you’re good to go, and click “Save”. When you want to send an incognito transaction, you could just select “Ethereum Mainnet (BlockEden.xyz)” network, and then send the transaction (shhh~).

What is BlockEden.xyz?

BlockEden.xyz is a suite of APIs powering DApps for Aptos and Sui blockchains of all sizes. Our software and API service enables you to easily access blockchain data so that you can build DApps quickly and efficiently. If you’re a Web3 developer or DApp owner in need of an RPC connection for Aptos and Sui, look no further than BlockEden.xyz! We are proud to be one of the first infrastructure providers offering this service for this highly anticipated new blockchain. In addition to our RPC connection, we will also offer a variety of other essential services and features for any Web3 project. Learn more about us today and see how we can help you succeed in the blockchain space!

Will We Help Ethereum Developers Too?

Whether we will offer Ethereum API support to developers is TBD, but your feedback would be important to us. Please let us know your needs!

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.

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

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