본문으로 건너뛰기

"product" 태그로 연결된 8개 게시물개의 게시물이 있습니다.

모든 태그 보기

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/

BlockEden.xyz가 Sui 테스트넷 웨이브 2에 탑승합니다

· 약 3분
Dora Noda
Software Engineer

2023년 1월 25일, Sui 테스트넷의 두 번째 웨이브가 시작되었으며 2~3주 동안 지속될 예정입니다. 이 웨이브의 일환으로 BlockEden.xyz는 수백 개 프로젝트가 안전하고 고성능인 Sui 네트워크에서 테스트 및 구축할 수 있도록 지원하고 있습니다. 이번 최신 웨이브는 개발자와 사용자가 Sui 네트워크의 전체 배포를 준비하는 데 더 큰 명확성을 제공할 것입니다. 이 테스트넷 웨이브가 왜 중요한지 자세히 살펴보겠습니다.

테스트넷 웨이브 2란 무엇인가요?

테스트넷 웨이브 2는 Sui의 두 번째 테스트 단계로, 개발자가 스마트 계약을 사용해 탈중앙화 애플리케이션(dApp)을 손쉽게 만들고, 이를 퍼블릭 블록체인에 배포하며, 내장된 도구를 활용해 애플리케이션을 안전하고 빠르며 신뢰성 있게 유지할 수 있도록 지원하는 블록체인 플랫폼입니다. 이 단계에서는 수백 개 프로젝트가 BlockEden.xyz를 통해 안전하고 고성능인 Sui 네트워크에서 테스트 및 구축할 수 있습니다.

테스트넷 웨이브 2는 지리적으로 분산된 39개의 검증인과 Mysten Labs가 운영하는 2개의 검증인으로 구성됩니다. 네트워크의 에포크 기간은 28,800개의 체크포인트를 기준으로 약 24시간이며, 기준 가스 가격은 에포크마다 변동합니다. 네트워크는 필요에 따라만 업데이트되며, 데이터는 복구가 필요한 상황에서만 삭제됩니다. Mysten Labs는 온콜 지원 및 사고 관리 프로토콜을 포함한 사고 지원을 제공하며, 선택된 검증인과의 협조를 진행합니다.

Sui 테스트넷에 어떻게 연결하나요?

네트워크는 허가가 필요 없는 퍼블릭 네트워크입니다. 누구나 테스트넷에 참여할 수 있지만, 보상은 프로그램 참가자에게만 독점적으로 제공됩니다.

엔드 유저 또는 암호화폐 보유자를 위해:

  1. Sui 웹 지갑은 여기에서 다운로드할 수 있습니다.
  2. Sui 지갑을 열고 → 설정(세 줄 아이콘) → 네트워크 → Sui 테스트넷을 선택합니다.
  3. Sui Discord #testnet-faucet 채널을 이용해 테스트넷 토큰을 받을 수 있습니다.
  4. 테스트넷에서는 https://testnet.capy.art/ 를 방문해 Capy NFT를 테스트할 수 있습니다.

테스트넷이 최근에 시작되었기 때문에 DApp 배포에는 며칠이 소요될 것입니다.

테스트넷 SUI 코인 및 스테이킹 보상은 테스트 전용이며 금전적 가치는 없습니다.

개발자를 위해,

무료 공개 API 키와 엔드포인트는 https://blockeden.xyz/keys 에서 받아 SDK나 HTTP 클라이언트에 적용하세요. 전용 키가 필요하면 가입하면 무료로 제공됩니다.

Sui RPC 키

테스트넷 웨이브 2가 개발자에게 의미하는 바는?

Sui에서 개발 중이거나 앞으로 개발을 계획 중인 개발자에게 테스트넷 웨이브 2는 메인 블록체인 네트워크에 완전히 배포될 때 애플리케이션이 어떻게 동작할지에 대한 더 큰 명확성을 제공합니다. 이를 통해 다양한 조건에서 애플리케이션이 어떻게 작동하는지 미리 파악하여 프로덕션 모드로 전환할 때 예상치 못한 문제를 줄일 수 있습니다. 테스트 단계에서 제공되는 향상된 프라이버시 옵션 등 보안 기능과 BlockEden.xyz가 제공하는 고급 분석 기능을 통해 개발자는 메인 블록체인 네트워크에 라이브하기 전에 애플리케이션이 원활히 동작하도록 필요한 모든 것을 갖추게 됩니다.

출처 링크: https://blockeden.xyz/blog/2023/01/30/riding-sui-testnet-wave-2/

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