Taking MultiChain streams to a whole new level
Today we’re delighted to share the first preview release of MultiChain 2.0, which implements one major part of the MultiChain 2.0 roadmap published earlier this year – a richer data model for streams.
Streams have proven to be a popular feature in MultiChain, providing a natural abstraction for general purpose data storage and retrieval on a blockchain. A MultiChain chain can contain any number of named streams, each of which can have individual write permissions or be open for writing by all. In MultiChain 1.0, each stream item has one or more publishers (who sign it), an optional key for efficient retrieval, a binary data payload up to 64 MB in size, and a timestamp derived from the block in which it’s embedded.
This preview release of MultiChain 2.0, numbered alpha 1, takes streams functionality to a whole new level:
- JSON items. As an optional alternative to raw binary data, stream items can now contain any JSON structure, which is stored on the blockchain in the efficient UBJSON serialization format. Since the MultiChain API already uses JSON throughout, these JSON structures can be read and written in a natural and obvious way.
- Text items. Stream items may also contain Unicode text, stored efficiently on the blockchain in UTF-8 encoding. Text items can also be read and written directly via the MultiChain API.
- Multiple keys. Each stream item can now have multiple keys instead of only one. This enables much more flexible schemes for tagging, indexing and retrieval.
- Multiple items per transaction. Multiple items can now be written to the same stream in a single atomic transaction. This allows multiple stream items to: (a) be naturally grouped together under a single transaction ID, (b) take up less space on the blockchain and (c) require fewer signature verifications.
- JSON merging. There are new APIs to summarize the items in a stream with a particular key or publisher. The first type of summary offered is a merge of all of the JSON objects in those items. The outcome of the merge is a new object containing all the JSON keys from the individual objects, where the value corresponding to each JSON key is taken from the last item in which that key appears. The merge can be customized in various ways, e.g. to control whether sub-objects are merged recursively and if null values should be included.
The purpose of JSON merging is to enable a stream to serve as a flexible database for applications built on MultiChain, with the stream key or publisher (as appropriate) acting as a “primary key” for each database entry. The advantage over a regular database is that the stream contains a fully signed and timestamped history of how each entry was changed over time, with the blockchain securing this history immutably through multiparty consensus.
As in previous versions, each node can freely decide which streams to subscribe to, or can subscribe to all streams automatically. If a node is subscribed to a stream, it indexes that stream’s content in real time, allowing efficient retrieval by publisher, key, block, timestamp or position – and now summarization by key or publisher.
Aside from stream items, MultiChain 2.0 alpha 1 also supports JSON and text in raw transaction metadata, as alternatives to the raw binary data supported in MultiChain 1.0.
Finally, this release allows the custom fields of issued assets and created streams to contain any JSON object, instead of the text-only key/value pairs offered in MultiChain 1.0. For forwards compatibility, MultiChain 1.0.2 includes the ability to read (but not write) these richer asset and stream custom fields.
To try out these new features, visit the MultiChain 2.0 preview releases page and download alpha 1. The page also provides detailed documentation on the new APIs and parameters available.
We’d love to hear your feedback on this new functionality. And of course we’re already hard at work on the next major set of enhancements for MultiChain 2.0, scheduled for release early next year.
Please post any comments on LinkedIn.
Bitcoin Shakes Off Dollar Rebound But Beware Of Coming Bear Phase
Bitcoin has barely flinched in the face of the dollar’s best attempt at a rebound in over a year. The greenback is trying to stage a comeback against the top cryptocurrency, which has left the global reserve currency battered and beaten.
Although Bitcoin has fended off the advance in USD, if history repeats and the dollar surges, a short term » Read more
” href=”https://www.newsbtc.com/dictionary/bear/” data-wpel-link=”internal”>bear phase could be coming to the crypto market soon.
The Badly Beaten Dollar Begins Breakout And Bounce
2021 thus far has been Bitcoin’s best year on record. 2020 was among the dollar’s worst as sentiment turned negative and inflation fears pushed investors toward hard assets like gold and crypto.
However, according to the DXY Dollar Currency Index, which weighs the dollar against a bucket of other national forex currencies, a comeback is in the making.
The dollar is breaking out from a falling wedge. Will crypto respond? | Source: DXY on TradingView.com
The chart above shows the DXY breaking out from a falling wedge pattern, and coming back down to retest the former resistance line as support. With the retest complete, a stronger push higher should result.
Related Reading | Dollar, Divergences, & More: Here’s Why Bitcoin Could Soon Bounce
Thus far Bitcoin has remained largely unaffected by the dollar’s advance, despite one half of the cryptocurrency’s main trading pair featuring the fiat currency.
A bullish MACD crossover will confirm the breakout as it has in the past | Source: DXY on TradingView.com
Coinciding with the breakout of the falling wedge, on higher timeframes, the MACD – a momentum indicator – is starting to turn upward. Past instances of the same pattern breaking upward combined with a bullish crossover on the MACD has led to sustained upside in the DXY.
How A Reversal In The Greenback Could Send Bitcoin Into A » Read more
” href=”https://www.newsbtc.com/dictionary/bear/” data-wpel-link=”internal”>Bear Market
Although the leading cryptocurrency by market cap has shaken off the greenback’s rebound thus far, a » Read more
” href=”https://www.newsbtc.com/dictionary/bear/” data-wpel-link=”internal”>bear phase could soon be coming that sets back the current uptrend for some time.
” href=”https://www.newsbtc.com/dictionary/bear/” data-wpel-link=”internal”>bear market in Bitcoin, as pictured below.
Each bullish crossover in the dollar led to a crypto » Read more
Bitcoin has been an uptrend for nearly a full year – since Black Thursday in 2020 – but time could be running out. The MACD hasn’t fully crossed over just yet, but has begun to turn upward.
Related Reading | This Unique Take On Bitcoin Suggests A Bear Phase Is Near
However, not all is lost for Bitcoin and the rest of the crypto market. An inverse head and shoulders on high timeframes might have completed on the DXY, which after a throwback to the trendline to confirm it as resistance, could result in the largest collapse in the dollar’s history, and its eventual undoing.
Upside in the dollar could ultimately be limited, benefiting Bitcoin | Source: DXY on TradingView.com
Such a scenario would suggest a bear phase in Bitcoin will arrive sooner than later, but that it will be much shorter-lived than previous » Read more
” href=”https://www.newsbtc.com/dictionary/bear/” data-wpel-link=”internal”>bear markets, and once it ends, the leading cryptocurrency by market cap could completely take over as the global reserve currency.
Of course, there’s no telling what the dollar could do from here, or if this time is actually different.
Featured image from Deposit Photos, Charts from TradingView.com
Mainnet launch and NFT sale lift Aavegotchi (GHST) to a new all-time high
Nonfungible tokens (NFTs) have rapidly become the new hot topic in the cryptocurrency sector, as evidenced by Litecoin (LTC) creator Charlie Lee comparing the current spike in NFT interest to the ICO mania of 2017.
The recent pullback in the cryptocurrency market hit decentralized finance tokens (DeFi) pretty hard, but as Bitcoin’s (BTC) price recovered the $50,000, DeFi and NFT tokens bounced back rapidly.
One project that has successfully capitalized on the DeFi and NFT boom is Aavegotchi. The project benefits from its association with Aave, while also focusing on the creation of value-infused NFTs that are limited in minting.
Data from Cointelegraph Markets and TradingView shows that the price of GHST, Aavegotchi’s governance token, rose 35% from $1.36 on March 1 to a new all-time high of $1.86 on March 2 as the community conducted its first NFT sale.
Three reasons for the GHST breakout to a new all-time high include its recent migration to the Polygon network, the successful completion of its first NFT sale and excitement about the upcoming mainnet launch.
Users bridge to Polygon for lower fees
Transaction fees on the Ethereum network have been increasing since the beginning of 2021, and they show no signs of decreasing anytime soon.
In response to this, the team at Aavegotchi announced on Jan. 26 that the project would bridge to the Polygon network, an Ethereum layer-two solution Following the migration, users are able to conduct transactions, buy items in the store and stake their GHST tokens for the cost of .0001 MATIC, a significant price reduction from the current costs of transacting on Ethereum.
GHST price rose from $0.61 on Jan. 27, when the Polygon bridge was first released, to $1.25 on Feb. 14 as users began to be more active in the community due to lower transaction costs.
Optimism grows as the mainnet launch approaches
One of the biggest drivers of GHST was its official mainnet launch on March 2.
While most NFT projects are content to utilize Web 2.0 servers or the InterPlanetary File System, Aavegotchi has taken its project to the next level by creating its own blockchain. Doing this enables each GHST token to have its unique personality traits, staked cryptocurrencies and visual elements stored permanently on the blockchain, which may help to strengthen their collectability and long-term value.
This also creates the unique opportunity where DeFi can be combined with NFTs by locking one of Aave’s wide selection of interest-generating tokens directly into a particular Aavegotchi, making each one a rare, unique form of a digital piggy bank.
NFTs sell out in under a minute
As Aavegotchi launched its mainnet, the project also conducted its first “portal drop,” which allowed tokenholders to buy a portal that is capable of summoning a yield-bearing Aavegotchi NFT.
Each portal was on sale for 100 GHST, and the demand was so high that the 10,000 portals sold out in less than a minute.
Through an integration with Aave and its aTokens, NFTs on the Aavegotchi platform create unique interest-bearing representations of funds supplied to the Aave protocol, a first for the NFT space.
Aavegotchis are designed to combine elements of gaming and collecting in an effort to tie digital collectibles to real value. This adds a new level of functionality to NFTs and is likely to help each Aavegotchi increase in value over time. In order to extract the value of aTokens locked within an NFT, the Aavegotchi must be destroyed in the process.
Future portal drops, low transaction fees and an expanding NFT store demonstrate that there is a healthy demand for GHST, and this is bound to grow as the platform expands to offer new layers of gamification.
Bitcoin has brought new thinking to payments and financial inclusion: SEC chair nominee
When it comes to Bitcoin, market opinions are often divided, with those who support the asset and those who don’t. Similar camps may now appear to take hold of US regulators and policymakers. Recently, President Biden’s nominee for chairman of United States Securities and Exchange Commission (SEC), Gary Gensler appeared to share his perspective on the crypto sector. Gensler said that cryptocurrencies “have been a catalyst for change.”
Speaking to US Senator Mike Rounds during his Senate confirmation, Gensler added:
Bitcoin and other cryptocurrencies have brought new thinking to payments and financial inclusion, but they’ve also raised new issues of investor protection that we still need to attend to.
His opinion on crypto is in stark contrast to Treasury secretary, Janet Yellen’s, who believed that Bitcoin is “extremely inefficient for conducting transactions” and that it is a “highly speculative asset.” It goes against Senator Elizabeth Warren’s views, who thinks Bitcoin would only “end badly.”
However, if Gensler is confirmed, a move that many crypto enthusiasts are looking forward to, the nominee plans to work to “promote the new innovation.”
I think, as I teach at MIT on these subjects, that these innovations have been a catalyst for change. Bitcoin and cryptocurrencies have brought new thinking to payments and financial inclusion but they’ve also raised new issues of investor protection…If confirmed at the SEC, I will work to promote innovation.
He quickly stressed on the importance of investor protection and said:
It’s always important to update our market oversight to new technologies…It’s important to stay true to our principles of investor protection.
Gary’s answer to concerns of crypto. pic.twitter.com/DR9u6FfDex
— CryptoBomber (@GSL24236982) March 2, 2021
Furthermore, in his opening remarks, Gensler said that markets—and technology— “are always changing” and must not be taken for granted.
Our rules have to change along with them. I believe financial technology can be a powerful force for good but only if we continue to harness the core values of the SEC in service of investors, issuers, and the public.
Gensler is most famously known for testifying before Congress for crypto and blockchain several times in the past. He even argued against the notion that crypto was similar to Ponzi schemes.
Sign Up For Our Newsletter