Categories: CryptoNews

ARK’s latest Core 2 update introduces new clean and easy API

Linked chain ecosystem ARK has announced the testing of its Core 2 update, beginning with the roll out of its new API v2 software that promises an easier, cleaner experience for developers to experiment with and run extensions on.

Disclosure: This is a Sponsored Article

Fresh from its latest business release of the ARK Deployer, a lightweight script to release custom ARK blockchains, the French tech firm has made a reputation with its flagship blockchain platform’s notable SmartBridge feature, which allows ARK to solve the issue of isolated blockchains. SmartBridge essentially bridges different blockchains for a simultaneous use of multiple networks, eliminating the complexity of having to exchange coins just to access rivaling networks.

Keen to carry on its commitment to ever-developing progress and improvements, ARK strives to be seen as the pioneering leaders of innovation and breakthroughs in blockchain technology. Its latest API v2 will be better able to handle data, allowing for caching and throttling right from the get go.

Keeping it enjoyable with Hapi

Initially starting with Restify, owing to its established place within Node.JS API development, the new API quickly outgrew its initial objectives and needed a redesign to align with ARK goals. As such, its new iteration, Hapi, now offers a full range of framework and plugin system able to scale from personal needs to enterprise requirements. All previous API version will still be able to be implemented by ARK as plugins, with a simple act of commenting out removing an entire version of AP. In other words, it’s never been easier to use ARK Core v2.

Related Post

Further enhancements

Another issue found in API v1 was its failure to comply with any standards and non-reflective of REST. This changes with API v2, being completely RESTful, following closely JSON API specs. This simply means that all endpoints serving resources in the API, such as transactions and blocks, will act as collections.

Calling `/api/blocks/{id}` where `/api/blocks` is the collection of the record requested via `{id}` will be grabbed from, instead of calling `/api/blocks/get?id=`. Users will now better understand how API endpoints are structures and function, with a standard structure meaning API documentation no longer needs to be referred to all the time.

Upping the throttle and cache

Public access APIs can be abused to attack servers with flood requestings, causing query overload and killing the database. Now introducing “request throttling”, users can perform a request to any API endpoint and check response headers to see if it works. This does not replace DDoS mitigation, it merely prevents API flooding.

Additionally, database load can be further reduced by caching API calls, as most data on blockchain

is immutable. ARK leverages Catbox to provide a wide range of drivers for major caching solutions such as Riak, Redis and Memcached. Since responses are never generated twice, ARK Core v2 should gain some speed and reduced server loads.

To learn more about ARK’s fastest in the industry 8-second blockchain solution, visit the website or try the ARK Wallet available in web lite, paper and desktop. To catch up with recent news and developments, find them on Facebook, Twitter, or read their blog on Medium.

Guest

The writer of this post is a guest. Opinions in the article are solely of the writer and do not reflect The Merkle's view.

Share
Published by
Guest
Tags: Ark

Recent Posts

Crypto Trends for 2025: Kaspa Price Insights, BNB Potential, and BlockDAG’s Hollywood Keynote

Crypto Trends for 2025 - Hollywood Producer Working on BlockDAG Keynote 3, Kaspa Price &…

2 hours ago

Why FXGuys and Aptos Are Must-Have Picks Before Altcoin Season

2 Reasons FX Guys and Aptos Should Be Your Top Picks Before Altcoin Season Kicks…

9 hours ago

Web3Bay vs. The Graph vs. Theta Network: Comparing Future Web3 Giants

Exploring Premier Web3 Projects: Advantages of Web3Bay Over The Graph & Theta Web3 is heralding…

9 hours ago

Altcoin Taking Dogecoin’s Crown – Why Whales Are Buying $FXG

The Altcoin Taking Dogecoin’s Crown—Here’s Why Whales Are Buying In the crowded world of cryptocurrencies,…

10 hours ago

Growing Interest On FXGuys ($FXG) Expected To Spur Price Surge On FXGuys ($FXG), XRP And GOAT Holders Buy In

The cryptocurrency space has made many millionaires in its current bull cycle and more opportunities…

10 hours ago

FXGuys ($FXG) Is Gearing Up For A Blockbuster Launch As Presale Numbers Exceed Expectations – Is This A 2025 Bull Run Gem?

The buzz around FXGuys ($FXG) is intensifying as its presale outpaces projections, making it one…

10 hours ago