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

DOGE Technicals Signal Correction: $50M Capital Might Rotate Into Ripple and DTX Exchange This Week

Dogecoin (DOGE) Technical Analysis: About To Correct? Today, Dogecoin (DOGE) is trading at $0.39, currently…

28 mins ago

Ethereum Reaches Yearly High Amid Bullish Sentiment, But Whales Signal Caution

Ethereum (ETH) has surged to its highest price of the year, supported by positive funding…

56 mins ago

Bitcoin Surges To $93K As New Addresses And Institutional Investments Hit Record Highs

Bitcoin has reached a new all-time high of $93,000, rising by 30% since the U.S.…

1 hour ago

XRP Community Buzzes After 45% Surge, As Robinhood Expands Crypto Listings

The XRP community is abuzz following a notable 45% price surge over the past eight…

1 hour ago

TRON Hits New Market Cap Milestone As Transaction Volume And Stablecoin Ecosystem Expand

TRON has achieved a major milestone with its market cap soaring past $16 billion, marking…

1 hour ago

Litecoin Sees Rise In Short-Term Holder Activity As Wrapped Litecoin Launches On Ethereum

The balance held by short-term Litecoin (LTC) investors has increased significantly, rising 31% over the…

1 hour ago