ARDOR Implements Game-Changing Features In New TESTNET RELEASE

Do you remember, back in the day, the first time you got your mind blown? I remember fondly how that happened to me with Nxt. That blockchain bastard repeatedly blew my mind – sometimes several times a week as it implemented feature upon feature at such a frantic pace. As such, I became a part of the embracing high-level community of Nxters and eventually surmounted the steep learning curve. It was totally worth it but afterward, I became hard to impress.

Released today, a brand new Ardor testnet finally made my brain cells feel a tiny bit explosive again, and it feels great! Not just a tiny bit, actually. The client that lands today is blockchain 2.0 evolution at its finest. Let the popular experts, and all the great blockchain visionaries do their talks. Jelurida just wrote it in code. Again. Let others continue to talk about TPS, ignoring scalability and security, we covered it already. And if you don’t know about Nxt, you should read up.

Ardor 2.0.4e

The Nxt and Ardor core dev team at Jelurida presents to you: New asset control features, multiphased smart transactions, a new API for creating regulated tokens on the decentralized Asset Exchange, and a transaction type that allows asset issuers to increase the number of asset shares in existence. All of this is an addition to all the existing core features and API.

This new Ardor testnet release resets the existing testnet and publishes a new Genesis block that tests the transition of data from Nxt to Ardor, based on a snapshot made of Nxt’s mainnet at block 1558000, shortly after the last JLRDA (IGNIS) exchange offer expired.

The testnet Genesis block timestamp has been set to 00:00 (midnight) UTC time
on Monday, Nov 6th, in order to allow time for users to setup nodes check their balances, and start forging.

From the Nxt blockchain has been transferred the following:

  • Accounts (public keys)
  • Account balances
    • IGNIS balances are based on NXT balances, divided by 2, plus JLRDA asset balances. Each of those has been additionally divided by 2, in order to allocate 50% of the testnet coins to developer accounts for testing purposes. There has been a 10% BITSWIFT asset sharedrop distributed proportionately to all IGNIS shareholders.
  • Account info (name and description)
  • Account properties
  • Account control settings for account control by whitelist with no minimum balance.
  • Account aliases transferred to the IGNIS child chain.
  • Janus, JanusXT, and ComJNSXT assets have been imported.
  • Monetary system currencies have been imported to the IGNIS child chain.
    • Only currency code and name. It will be up to each currency issuer to re-issue the currency with the appropriate properties and re-distribute it to users.

Lior Yaffe kindly asks all of us to check our accounts on Ardor and make sure everything has happened correctly:

If you are only interested in checking your balances head to the Jelurida public node , login using your existing NXT Mainnet account id (no need to login using passphrase) and check your ARDR, IGNIS and BitSwift balances. In addition, check your Janus asset balances, aliases, account properties, currencies, account control and all other entities migrated from the NXT Mainnet according to the changelog.

When you check, be aware that your IGNIS and ARDR holdings have been divided by 2 in this testnet release, so 50% of the tokens can be allocated to dev accounts for testing purposes.

Read all details here.

This was to be expected. Massive work, yes, all as promised and fair for a call to shift from one platform to the N(e)XT, Ardor. Pun intended. There are API changes too, and new API, coders please (you must!) check the change-log.

What made my brain cells begin to feel explosive again then?

New features

Yes, the new features. Nxters run. Run out there and share it with the world!

The change-log for Ardor 2.0.4e presents the following new transaction types – add to them all that the Nxt blockchain’s smart transactions and Ardor’s globally scalable, energy efficient child chain platform design can do, and you will see clearly the size of this gamechanger. This is what the release implements:

Asset control

Allows an asset issuer to control her assets. That’s right. As the issuer you decide who can buy and sell them; a small group of selected people, only KYC verified accounts, perhaps. Or you could send non-transferrable assets to a board of holders and give them voting rights over the asset. How about that. Read it again and let it sink in – with this release you, the issuer, will get complete asset control.

No, it’s not the end of a free market. Ignis is free. It is a new opening that allows all new as well as old running businesses to shift their old backend to Ardor and Ignis and receive all the benefits of the blockchain as a business backend, consumer front-end, and even get it cheaply.

Example:

  • Have an ICO/crowdfunding on Ignis
    Upload contracts and legal documents to the data cloud, time-stamped, hashed, let the KYC compliant accounts of your business partners or angels digitally sign the agreements, this will be documented on the blockchain as well.
  • Issue your asset tokens
  • Decide which rights you want to give to your asset holders, and to your market.
  • Distribute assets, each with the rights attached that you assigned to them. Watch them be traded.

Selected (or all) asset holders can have voting rights. You can pay dividends in any token on the platform; IGNIS, another child chain coin, an € pegged coin, that can be withdrawn with your VISA/Mastercard or just sit in your bank account. Or in other assets, representing bonus points, tickets, whatever fits your business plan. You could even create games with this. It is here.

We welcome this Java code, the Asset Control feature, as one of the best newest addition to the already existing API.

Composite Phasing

Introduces AND, OR, and NOT to Nxt’s Phased Transactions. This, combined with the new Asset Control feature, adds whitelist control over asset holder accounts, you can choose, for example, which asset holders should have the opportunity to vote or even control an account by vote. Even control the whitelist of new accounts. Do you see the better DAO coming?

It also allows for example combining the existing by hash or by transaction approval models with by whitelist, by balance, etc, approvals, which enables doing atomic coupling of transactions (including cross-blockchain) even for multisignature accounts, or with assets subject to Asset Control.

I couldn’t say it better.

The NOT operator allows for dead-man-switch type conditions, where a transaction is executed only if some condition (e.g. revealing a secret) is NOT satisfied.

Source

Asset share increase

With this new smart transaction type, asset issuers can increase the number of assets in existence. Print new money?!!

The new shares are allocated to the asset issuer account, but can then be distributed to shareholders using a separate dividend payment transaction. This allows corporate actions such as capital increases or stock splits to be performed.

Be careful, like we all learned in Economics 101, increasing the supply of money will decrease the value. Take care not to dilute your asset into nothingness.

By-Property phasing

First, if you don’t know Nxt’s feature “Account Properties”, I should fill you in: Account Properties is a Nxt feature that adds the ability to permanently ‘tag’ any account on the blockchain with a small amount of data, like meta-information. Tags can also be deleted by the tagger.

Let’s see what By-Property phasing is:

 

The new by-property approval model allows the transaction execution to be made conditional on the sender account or the recipient account having a specific account property set. If this property is set, the transaction will be executed immediately, else, a second check whether the property is set is performed at the finish height defined. This allows, for example, enforcing KYC by asset issuers, who can define in their Asset Control settings that only KYC-verified accounts, labelled with a predefined account property by a trusted authority (or the asset issuer itself), to perform transactions with their assets.

So with this feature, the blockchain market is regulated.

With this, you can, for example, in the near future, issue an asset on any Ardor child chain, trade it on any child chain, but enforce/be enforced to only let KYC approved accounts trade it on the market. Or choose by country. Or any group. With Ignis, asset issuers and traders can choose whether or not to trade on the regulated market, but we all know: Regulation will be. The new By-Property phasing API makes it not just possible but also easy and cost-effective to develop as a user-friendly service, and yeah, remember, the main purpose for Nxt 2.0, Ardor, was actually to make it globally scalable.

Where does this leave us? Accounts can be tagged by 3rd party KYC service providers or, even better, by governments, may they ever choose to set official ID on accounts and begin using the benefits of the blockchain. Don’t get me started. Secure us, our medical records, money, ID – let us be secured by cryptography. Jelurida’s code does it for them. Give us voting rounds that cannot be interfered with as the result is public, and votes have already been counted by code, see the graph. It’s on blockchain, but energy efficient, secured by nodes all over the world, and while we’re at it – possible. And see, Ardor has, as another first, a solution to the blockchain bloat problem running in production. The first and most tested globally scalable PoS Platform. It’s here, get started.

Sure I am excited. I’m a Nxter. Aren’t you?

Come on, try it!

For newcomers, it may seem weird that scammers and developers collect millions and millions of dollars worth of ETH or BTC in ICO’s, selling their whitepaper only, describing smart contracts they want to invent, code, test, execute, and need us to trust, when old Nxt Cryptocurrency 2.0 already has the functionality that most of them seek. It’s weird that what most of all of these devs and their investors are trying to achieve already exists on Nxt, that now gets further ahead with the scalable and even more beneficent and featureful public Ardor Platform. Yes, it IS weird, that Nxt has been under the radar and ignored by, for example, the larger Bitcoin-paid media for so many years.

The Nxt core devs, Jelurida, has split Nxt into IGNIS, the transactional token of Ignis, the first and unrestricted full featured child chain on Ardor; the mother blockchain that forges all Ignis’ transactions and will give birth to a lot more and take care of all her children (child chains), as well as make sure they keep communicating with each other. This is Ardor. With Nxt being a blockchain 2.0 platform, should Ardor be called blockchain 3.0? Nxt 4.0? Who cares. If you’re just a little familiar with Bitcoin, blockchains and smart transactions, you will realize that you want to test this release.

For those who want to setup an Ardor full node, install the software as usual and start forging, the first block will be generated tonight at 00:00 (midnight) UTC time on Monday, Nov 6th (about 14 hours from now)

If you are installing on top of a previous Ardor release delete first the nxt_test_db folder from C:\Users\<username>\AppData\Roaming\Ardor on Windows, ~/.ardor on Mac and the Ardor installation folder on Linux. If you don’t do that you’ll be left on a fork.

Follow the development closely and take part in the community. Even without the awesome potential that awaits us with this momentous release, it’s always mindblowing development.

 

Ignis ICO Report 8

BTC is on a bull run, to put it gently. Anyone watching crypto charts and price indexes these days see the value of BTC (Bitcoin) skyrocketing up up up; resulting in most altcoins declining in value when pegged against BTC. This story also applies to NXT and ARDR, yet ARDR does extremely well in terms of fiat price.

IGNIS ICO – Final Round

The first child chain of Ardor, Ignis (named JLRDA in the ICO) is still for sale. Less than two days are left in the fifth and final round and it is not too late to participate. Millions of tokens are still available.

Nxter Magazine has followed and covered the twists, turns and the evolution of this decentralized ICO taking place on the Nxt blockchain in our ICO Reports, as well as in our weekly newsletters. Now we take one last look at the state of Jelurida’s ICO.

1.45 NXT per IGNIS, last chance to buy is 04.11.2017.

Live data from the Nxt blockchain

Was the ICO a Success?

Yes, millions of Euros were raised demonstrating public interest. In the first four rounds Jelurida, the company controlling the IP behind Nxt / Ardor / Ignis sold ~260M JLRDA tokens to a very eager public. The crowdsale was very popular in the first batches and rounds, with huge whales buying most in the beginning. But JLRDA tokens are still left over from the fourth round and it looks like millions will be left over from the fifth too. Buy orders are still flowing in daily, though not in the same tempo as in the beginning.

Why?

1) The price ladder

If you do NOT look at the price of NXT, buying now would seem like a bad idea.
But the fact is that NXT is currently the reference currency for JLRDA. You cannot ignore the NXT price.

When NXT decreases in value, so too do the JLRDA tokens.

What investors invest NXT in is the transactional token of the first child chain of the Ardor platform. A featureful public chain with no restrictions, no regulation, fully decentralized, and with several new advantages added on top of the variety of smart transactions (inbuilt, tested and secure smart contracts) that Nxt already offers.

2) The IGNIS airdrop – you can have both NXT and IGNIS

At the Ardor Genesis snapshot, half of all IGNIS tokens will be distributed to investors that hold NXT – 0.5 IGNIS for free per 1 NXT they hold in their account. So, they will get to keep their NXT.

Why would anyone sit tight and hold NXT instead of exchanging it for JLRDA? If NXT is expected to get dumped massively after the snapshot of Nxt’s blockchain this Xmas, isn’t it too high a risk to take?

Well, who knows, maybe it will not get dumped. Nxt is, after all, still an awesome blockchain 2.0 platform.

Lior Yaffe, CEO of Jelurida, commented:

Why would Jelurida stop developing NXT, a stable and mature product with a huge potential? Rest assured, NXT has a bright future, it has been around for almost 4 years and will be around for a long time.

Source

We won’t be able to sell private blockchains unless we have a successful public chain. We all realize this. NXT promoted Jelurida and Jelurida will promote NXT. The challenge is to create a win/win situation and we need your support for this.

Source

And so, in Jelurida’s roadmap it reads:

  • Support for existing community tools and services
  • Develop Nxt as a simple and secure crowd funding solution for new ICOs
  • Nxt blockchain maintenance for at least 3 years after the IGNIS crowdsale
  • Merge features added to Ardor which do not rely on the parent/child chain architecture

JPL

It’s easy to clone Nxt. On Jelurida’s homepage, there is a tool to privately launch and test a Nxt blockchain. And in addition, a Nxt Creation Kit, which makes it a no-brainer to start a new public PoS blockchain that adheres to the JPL license. Wait, is this not open source? Yeah, it is, but as covered here, from Nxt NRS version 1.11.6 and forward, cloners must pay 10% of their new blockchain tokens to NXT holders. This is a defense against the devaluation of the NXT token.

And those that do not want to pay? Well, they can choose an earlier version, but it will not be upgraded.

The international bank, BNP Paribas, is known for using Nxt. After testing it they implemented it. And, for example, Accenture and the NSD (Russia’s National Settlement Depository) use Nxt for testing decentralized voting. And Jelurida will sell private blockchains. Will this devalue NXT? Is it bad? Imho no – it is another proof that Nxt is very, very, secure. For Nxters that use the public chain as well as for banks and the companies that will inevitably follow suit and implement a business solution based on distributed ledger technologies. As Lior said, “Nxt will be around for a long time.”

0.5 IGNIS per NXT, snapshot this Xmas season. The Genesis block is to be forged on Jan 1st, 2018.

That is Jelurida’s treat. On top of your valuable NXT, you will receive an airdrop of 0.5 IGNIS per NXT into your account for free. Like a second Xmas.

3) Ignis is just the 1st child chain.
Ardor is a child chain platform. Someone will issue IGNIS 2, 3, 4 etc.

No.

According to the roadmap, for at least the next year, all child chains will be issued through Jelurida. Yes, Jelurida, the same company that sells and holds a massive amount of IGNIS. The JLRDA tokens still in Jelurida’s account after the ICO will be kept by Jelurida and used as they see fit. And Jelurida has expressed no interest in devaluing them.

Actually, Lior Yaffe’s vision seems to be the opposite:

While the Ardor platform can have multiple child chains with similar features, only the Ignis child chain will be created with no restrictions.

Source: Page 26

Today’s blockchains are Jack of all trades, if you are interested in blockchain voting, your node will still process and store forever all the identity management, asset exchange, ico transactions, iot sensor data, social network messages and every other transaction ever submitted to the blockchain even if you don’t care about them. And this is the main problem that the industry needs to solve.

[Ardor’s] unique parent child chain architecture allows us to separate each application into it’s own child chain and only store the few transactions which are important to the POS consensus algorithm in the blockchain forever. All other transactions can be removed (pruned) and nodes will only track the recent state created by them.

Furthermore, in the future this architecture will allow nodes to focus on specific child chains. This way, we no longer have the requirement that each node process all transactions. Then like the Visa network does today, we can scale to global scale.

Source

So rather than being copied onto other child chains, Ignis will stay unique, at least for a long time. An original non-restricted blockchain with the same features as Nxt, including shuffling of coins, assets and Monetary System tokens for user privacy, a totally unregulated marketplace and Asset Exchange, where you can distribute dividends (even other child chain coins) to asset holders with one click, execute polls among your asset holders, use Phased Transaction to create a DAO, and do even more than with Nxt, as Ignis will interact with all other child chains on the Ardor network. In other words, a great live reference blockchain, and a demonstration of Jelurida’s vision, work and worth, until …

4) Confusion

Then there is Ardor.

We have three coins in play.

$NXT, $IGNIS, $ARDR – picking the right one to invest in IS complicated.

The good old proven, but still under-used NXT, a prime mover in its field: energy efficient, the first 100% PoS, featureful, a best fit for private blockchains and running in production with the international banking conglomerate BNP Paribas (money over borders), used by NSD and Accenture for blockchain based voting security. And cloned and seen on coinmarketcap under a few other names too.

Ignored by the crypto (Bitcoin) media for years, developed with no dev- or marketing-budget, Nxt is all this. And after the ICO has ended, Jelurida has collected the monies to breathe life into both marketing, further development, and new dev education. Should we trust them to do it? I think yes. Because 1) They can. And 2) They do hold a lot of NXT. 3) The more we build on Nxt’s public chain, the better a showcase for Jelurida.

Then we have IGNIS, dubbed Nxt 2.0; will it make Nxt obsolete? Buying IGNIS is buying into the evolution of the Nxt blockchain technology. Janus will move to IGNIS. Adel will. Gabriel Dusil is already doing a great job attending events and private business meetings, all documented here.

For those still asleep, Nxt is a full economical infrastructure on the blockchain. Ignis expands it and devs with just HTML, CSS and .js skills can easily build free as well as paid user-friendly decentralized applications on top of it and even access the whole Ardor ecosystem of child chains. All the inbuilt Nxt smart contracts have been tested in the wild and passed the test as unbreakable. But Ignis will be expanded further. Already when it launches on January 1st it will have lots of extra functionality. 

The forging chain

The Ardor Platform, ARDR the parent chain token. This is the token that will forge and secure all future child chains, the full Ardor ecosystem. Ardor will be able to run as a full node on phones, so the security of the network will be safe.

Bitswift will have its own child chain.

Ignis will, of course, run on Ardor and use ARDR.

Donau Universität will develop several projects on Ardor.

There has been announced BTC and fiat-pegged child chains.

CBT Nuggets is buying 50M ARDR so they can be offering it for validated learning to all of their existing customers at cbtnuggets.com and plans to give away the equivalent of 100ARDR with every download of their new client along with profile creation.

Ardor is well described in the ICO Whitepaper and here.

You can see a technical comparison between Ardor and its competitors here.

This is just the beginning. There is money to hire more world class developers and fund a far-reaching marketing campaign. Also, if someone is dissatisfied, the code is open source and can be cloned, well if the JPL license is followed. A license good for holders. On December 27 Ardor’s source code will be released under the same JPL license.

So should I buy NXT or JLRDA? Or ARDR?

That is a personal decision.

One may not be better than the other, and in some way, they are all deeply connected.

The JLRDA crowdsale ends tomorrow. It will be the last chance to support Jelurida in creating our future, as well as the future value of all coins in the core platform. Remember, regardless of whether or not you participated in the ICO, you will receive a late Xmas present at the New Year of free IGNIS tokens equal to half the balance of NXT you have in your wallet. We are not here to give investing advice, merely to highlight and showcase the many successes and use-cases of the three tokens.

Thanks for reading along. Feel free to spread the word.


 

Nxt News – July 2017 (IV): The secret of getting ahead is getting started

July 2017 (IV)

 

Welcome again, fellow Nxters! You are in the right place to expand your mind and stay knowledgeable about all things Nxt and Ardor. We aim to be accessible to new readers as well as informative to long time followers who come to learn the latest news and most relevant happenings in the blockchain space.

As always, whatever your interests and whoever you are, you are in the right place for your comprehensive analysis of all things Nxt and Ardor. Last week, as always, was action packed, with many interesting and exciting opportunities presenting themselves.

NXT COMMUNITY

NXT AE

DEVELOPMENT

NXT IN THE MEDIA

PRICE EVOLUTION

 

NXT

This week’s newsletter is put together by jagd (James), rubenbc, with final edits by Travin Keith, apenzl, jose.


NXT COMMUNITY

 

  • Jelurida Details IGNIS ICO

#IGNIS #blockchain #ICO dates and pricing have been announced at https://t.co/baCpwOraK0 #NXT #Ardor #cryptocurrency #investing pic.twitter.com/nZUtL1TriU

— NXTER Magazine (@Nxter_org) July 17, 2017

We have more details for the much anticipated IGNIS ICO. Last week the Jelurida team announced that the fine details and preparations needed for initial coin offering (ICO) are almost complete and the IGNIS ICO schedule has been released with the rates for the tokens (JLRDA) priced in NXT.

Lior Yaffe, senior developer at Jelurida, whose handle is Riker, has announced that August 5, 2017, is the beginning of the ICO, save the date! Being a controllable currency, the JLRDA tokens will not be tradable or transferable between user accounts. The purchased JLRDA currency units will only serve as a proof of ownership and initial IGNIS balance for the Ardor Genesis Snapshot. A controllable currency was chosen to prevent trades from happening while the token sale is ongoing so that purchases of JLRDA directly contribute to funding the development of the platform.

Purchasing JLRDA tokens will require NXT, however users will be able to exchange other cryptocurrencies to NXT conveniently within the Nxt wallet using the integrated ShapeShift and Changelly third party exchanges, subject to availability.

For 1 JLRDA token the participants in the ICO will receive 1 IGNIS coin at the time of the Ardor Genesis Snapshot.

Lior Yaffe (Riker):

Ideally, Jelurida will end up the ICO with 40M NXT in its account that it won’t sell so we have an incentive to continue to develop and promote NXT in the future.

Is he talking about the integrity of the Nxt Blockchain long term?

Lior Yaffe (Riker):

Consider that Jelurida will keep 20% of the raised funds up to 40M in NXT and not convert them to BTC or Fiat. Therefore Jelurida has the incentive to see NXT continue to flourish.

In a nutshell, the idea is that the more funds we raise in the ICO the more we will invest back into NXT development in addition to Ardor development.

Either way, the risk that the NXT blockchain will get completely abandoned given that the rest of the blockchain ecosystem continues to progress is minimal. Unlike the POW coins which require huge infrastructure, NXT can be kept alive by few dozens of users each paying for a 10$/Month VPS.

NXT, even in its current state, is still orders of magnitude more functional than anything else out there and given that it’s one of the only open source blockchain projects and that it is much simpler to develop for NXT than for anything else, I still expect an NXT community to form even if all existing devs walk away (which won’t happen anyway).

Exciting times await in August! The earlier you invest your NXT the more IGNIS tokens you will receive at the Ardor Genesis Snapshot. Invest your NXT tokens wisely and always do your due diligence beforehand so you can be as informed as possible. We do.

Source

More info

Article available in English, Deutsch, Chinese, and Spanish:
https://www.jelurida.com/ardor-blockchain-platform-design

(Back to the Index)

 

  • JELURIDA PUBLIC LICENSE

https://www.jelurida.com/jpl

Concurrently with the IGNIS ICO, the talented team at Jelurida have created a new “copyleft” license in the spirit of GNU General Public License, but tailored to the intricacies of open source cryptocurrency projects.

This “Coinleft” license is not only meant to ensure that the source code of any work based on Jelurida IP BV technologies and platforms – Nxt, Ardor, etc., remains open but also that the original community of blockchain token holders receives value from derivative projects based on their original software. The Ardor platform and the future NRS versions will be released under this license, with Ardor and Nxt clones being required to give 10% of their tokens to IGNIS or NXT holders respectively from here on out. All of this is achieved with the new Jelurida Public License (JPL).

Kristina:

Good evening, everybody
A light reading for the weekend – the full text of the Jelurida Public License is now uploaded on our website.

The Ardor platform and the future NRS [Nxt Reference Software] versions will be released under this license.

Ardor and Nxt clones will have to give 10% of their tokens to the IGNIS or NXT holders respectively from now on.

(Back to the Index)

 

  • The Issue of the Chinese name of Ignis – 火链

marenkar:

“Ignis” can mean “Fire Coin” which translates to 火币 aka Huobi

After long and heated discussions in the Chinese community, the issue of the Chinese name for Ignis has been amicably resolved in a closed room discussion. The issue stems from the translation of “Ignis”, which can translate as “Fire coin” to Huobi, which is one of the largest digital currency exchanges in China.

The consensus for the translation is to call “Ignis” as “Fire chain”, instead of the already taken “Fire coin”. One of the interesting nuances of the distributed ledger technology space is that we are truly global in scale, and  – much like the beloved Joss Whedon television show ‘Firefly’  – Chinese and English are the two dominant languages with China being home to a significant number of Bitcoin Exchanges, like Huobi.

The future of the internet is the so-called “Internet of Value” age and with it comes increased globalization so it behooves us all to be more culturally refined so as no matter who you are, are where you are from, we can all build something great, together.

NXT

(Back to the Index)

 

  • LinkedIn Post:
    Ardor is Coming Soon – Better Than Ethereum?

Ardor is Coming Soon – Better Than Ethereum?
Published on July 20, 2017

A new kind of cryptocurrency is coming on line that the company claims is easier to use than ethereum. It is brought out by Jelurida, the developers behind Nxt and will use technologies already online from Nxt cryptocurrency and blockchain.

This multi chain solution with a parent-child chain architecture is called Ardor

Despite the news that the launch of the Ardor platform will happen in Q4 and not Q3 this year, anticipation swirls. An informative piece was penned by David Murry, Founder CEO at Kainui Canoe, on LinkedIn extolling the many virtues of Ardor.

Specifically, he wrote about the claims that Ardor will be easier to use than Ethereum. Listing the many benefits of Ardor, eager anticipation within the Nxt ecosystem exists for the ability to permit and easily implement cross chain asset trading. Doing so allows child chains to easily interact and therefore increase collaboration across our great community.

The tokens were distributed in October last year, though just as placeholder assets on Nxt. ARDR as an asset on Nxt will become ARDR as a coin on its own blockchain in early Q4 this year.

Source

(Back to the Index)

 

  • #OpEasterEgg

We’re glad to see more and more followers of our Twitter account, glad for the blockchain messages, glad to see participants reach out and give each other a helping hand by sharing additional clues, and glad to showcase some of Nxt’s many features in a fun way and give away free stuff at the same time.

To join the Nxt Blockchain Easter egg hunt, follow the news and of course also #OpEasterEggs on Twitter.

(Back to the Index)

 

  • Ardor/Nxt – Original and unique art painting

The Ardor/Nxt community is rich in talent. Last week we had all those wonderful submissions for the IGNIS logo to vote on. The vein of talent runs even deeper than that –

user start the art from Bitcointalk created the NXT inspired masterpiece you see below entitled ‘NXT COIN 01’ :

Title:- NXT COIN 01-
Year:2017

Feel freee to contact me
We can arrange the price of painting,I am open to make  good deal

Source

We are happy to support the arts and we are very impressed with this piece. If you too are impressed or inspired please contact him and inquire about it.

Art is not a language through which sophisticated people congratulate themselves on their superiority – no, it is a vibrant and powerful expression of humanity through the lens of our platform. As our community continues to grow and diversify, so can we by embracing those who produce and create products outside of the blockchain space that embraces our platform.

(Back to the Index)

 

  • Video Tutorial with Riker – Creating your new Nxt account

The blockchain community can seem impenetrable if you are curious about how to become an active member of the Nxt community. Linked below is a very handy beginner’s guide to creating your NXT account, securing your passphrase, and some useful tips on how not to lose it.

Everyone was once new to this community. We welcome all and will continue to be accessible to all.

(Back to the Index)

  • SCAM ALERT: JRLDA is NOT JLRDA

A classic case of caveat emptor – buyer beware. Jelurida tokens will not be available until August 5th. At least five people bought into JRLDA, which is not JLRDA. Likewise, there are fake coins with names like IGNIC, ARDRX, ARDRC.

Beware when you scroll the currency pages of the NXT client. These coins are flagrant attempts to skim off the success of NXT and ARDR and now JLRDA. Pay close attention to the ID’s as much as the names of any AE asset or MS coin before you purchase in order to ensure it is the genuine asset.

Source

(Back to the Index)

 

  • Meetup – BigchainDB & IPDB: Token ICOs

At a meetup in Berlin, the 3rd of August, Jelurida senior developer Lior Yaffe will speak at length about the blockchain bloat problem and introduce the Ardor blockchain platform.

Solution to the blockchain bloat problem, introduction to the Ardor blockchain platform and the Ignis ICO

Speaker: Lior Yaffe

Abstract:

Lior will explain the blockchain bloat problem and introduce the Ardor blockchain platform which provides a unique and elegant solution to this problem. The talk will cover advanced topics in blockchain technology such as proof of stake, forging, child chains, bundling, pegged chains and archival nodes. Finally Lior will explain the Ignis ICO and wrap it all together.

Riker in the latest International Blockchain Hackathon organized by Intel
Riker in the latest International Blockchain Hackathon organized by Intel

Source

(Back to the Index)

 

NXT AE

  • Janus – Status Update

Janus has been quiet about what they have been working on of late. This week that ended when they released a detailed post about all things new and exciting with Janus.

From the Janus message boards

Active Sites and Dividends

a) As you probably know, we got involved with the ETC (Ethereum Classic) community. As an icebreaker and to prove that we’re men of our word and know what we’re doing (more on this later), we launched ETCBets.com , an upgrade of our existing codebase to use websockets as a transport layer which gives our site awesome betting speed and massively reduced server load. The site was well received and some of the site profits were distributed to both the ETC dev team(s) and Janus holders.

b) Parallel to this, BetterBets.io is still running and processing bets using both BTC and NXT. While it’s initial reception from the NXT community was quite positive, traffic has dropped quite a bit over the past 2 months. Part of this may be our fault because we’ve been focused on our future businesses and have not done a lot of promotions and marketing; another factor contributing to the drop in traffic may be that the NXT community is simply too small to sustain large betting volumes now that the initial site ‘newness’ has worn off.

c) Since betting is an unpredictable business and lady luck can’t be relied upon to always smile our way, ETCBets.com profits in May were basically wiped out by a lucky (and/or skillful) player who managed to win a large pot. The same player came back in June and repeated his performance, leading to another low dividend month for Janus holders. Our feeling on this are (of course) mixed. On the one hand, we don’t mind players winning and our investigation showed that this player’s winning were legitimate; as such we can only congratulate him on his success (on a sidepoint, the fact that this player was able to win a significant amount of ETC should serve as proof that we run an honest and fair casino). On the other hand, since we own the bankroll and could not distribute any significant dividends to Janus holders we’re a bit saddened by our loss. But such is the gambling business, you win some and you loose some.

d) Adding insult to injury, in early July a flaw in our site was discovered and an attacker managed to make off with about 490 ETC. Due to the fact that we have certain safeguards in place the attacker could not extract more than his amount from our site, but the loss, while not crippling still hurts. We put the site into maintenance and have since re-engineered the code which was responsible for the exploit. As of 2 days ago the site is live again with dice bets; Parabolic will be put live during the course of this week. To be clear: our server was not compromised and the majority of our bankroll remains unharmed and in our possession.

Future Plans

a) We have reached an agreement with a new developer who will join our team before the end of July. We hope that the addition of this developer will lighten the workload of our main dev (Lobos) and allow us to speed up development of our new sites.

b) We have always said that we will not put all our eggs in one basket. As such, we have for some time had plans for some side initiatives which at least deserve a shot to see if they can grow into viable businesses. One of these initiatives is about 50% complete and it will be the task of our new dev to take the code we have so far and bring it to completion.

c) In addition to everything else which has been going on, work on our first mainstream site – TradeMimic.com – has begun and some basic pieces of functionality are starting to come together. There is still lots of work to be done for this site and completing it will be our devs primary focus for the remainder of Q3. We will keep everybody posted on progress and hope to invite some of our Janus investors to be beta testers when the site/code is ready for that.

Yours in business,

 

(Back to the Index)

 

  • Adel – Become a Member

Another important member of the blockchain space is Adel and their coin, ADL. Over the last week, ADL has been on sale Their community continues to grow and we wish them continued success. Last week they were advertising membership status and the perks of said status.

In their own words:

ADL has been on sale this past week.  Now is a great opportunity to top-up to membership status.  Our community is a great opportunity to increase your knowledge and moving big ideas forward.  Top up today and be part of a community incubating great ideas.  Membership starts at 64 000 ADL.

If you are unsure on how to top-up, please let us know at adel@adelphoi.io

When we learn together, our incubator carries that knowledge to all projects.  

As an incubator for blockchain innovation we offer a unique model for startups and the blockchain industry. It will be a great opportunity to share our vision with the fast growing Prague tech community.

Do you have ideas for a blockchain project and like the idea of building it with a community of experts?

 

Membership privileges include:

▲ Access to the community modules (except for the Account module which everyone has access)

▲ Vote on projects based on your ADL balance

▲ Submit ideas and become an innovator

▲ Communicate & collaborate exclusively with other members

▲ Incubate ideas (I2) in Adel’s Collaboration module

▲ Collaborate Project Planning (P2)

▲ First choice to be employed in projects (Enterprise Execution, E2)

▲ Buy ADS tokens (Adelshares), in future projects

▲ Favorable rates in future community initiatives, purchases, etc.

 

How to Acquire ADL

You can use https://coinmarketcap.com/calculator/ to calculate how much fiat, BTC, ETH, or other altcoins are needed to acquire your ADL.

You can currently purchase ADL on 3 different exchanges:

1 – NXT Asset Exchange (Asset ID: 17477397104276156702)

2 – https://Stocks.Exchange  (trade BTC or NXT)

3 – https://CryptoDAO.com (trade BTC, LTC, ETH or DASH)

Review their Vimeo channel for videos on how to use the exchanges http://www.vimeo.com/AdelEcosystem

Remember:  Bounty programs are also available to earn ADL. If you have a skill in writing, creating video blogs, doing promotions, performing digital marketing, or even if you know someone who can help their community grow, then reply to adel@adelphoi.io for more details on their bounty program, or check out their frequently asked questions: https://adelphoi.io/faq

 

More information: www.adelphoi.io

Twitter LinkedIn Facebook Reddit

(Back to the Index)

 

  • Bitswift Token Migration

As Bitswift prepares for their token migration to Ardor as a child chain, documented last week, they announced how they will be hosting the token swap. The Bitswift market will be suspended as of 6:00 PM PDT on August 11, 2017 with new tokens being credited to Bittrex. Trading will only resume when both Bittrex and BDA Inc. are satisfied with the migration.

This is great news for both the Bitswift community and us Nxters in the Nxt community as we can collaborate together and synergistically grow our platforms and build upon each other’s success.

In their own words:

Bittrex Swap Info:
To make this process easier, Bittrex will be hosting the token swap. The Bitswift market will be halted and withdrawals suspended at 6:00 pm PDT on 8/11/2017 while the new tokens are credited to Bittrex. Trading will resume only when both Bittrex and BDA Inc are satisfied with the migration, with Bitswift users now trading the new tokens. Bitswift users balances will reflect the same total that they had prior to the swap. The old Bitswift tokens will be collected by BDA Inc from Bittrex. The old Bitswift tokens will no longer be supported by Bitswift companies and will no longer be traded on Bittrex.
https://support.bittrex.com/hc/en-us/articles/115000719871

Bitswift.press      https://medium.com/@Bitswift.press/bitswift-token-migration-c2f4186c89ea

 

(Back to the Index)

DEVELOPMENT

  • Weekly Reminder – Do you want NXT on your exchange?

A new week brings us back down memory lane; or back into the classroom for the uninitiated – exchange integration. The following page contains detailed information of how to link NXT to a currency exchange platform, an important part of building any exchange.

It’s easy:
https://nxtwiki.org/wiki/Exchange_Integration 

Feel free to contact us when you have added NXT and we’ll make sure to list you on this page 

(Back to the Index)

 

  • Ardor Explained, by Lior Yaffe Himself

Nxt, Ardor, all these terms are thrown around a lot here. The distinction between Nxt and Ardor is vital to know as it is one of the main selling points of the Ardor Platform. Based on the Nxt Platform, Ardor migrates from the testnet and has its Genesis later this year in Q4.

This video of Jelurida’s managing directory Lior Yaffe provides an excellent summary of Ardor and explains the key selling points of the platform and explains why it will be successful and revolutionary in the blockchain space. The perfect video to send to your friends who are curious about what Ardor is.

(Back to the Index)

NXT IN THE MEDIA

  • Steemit – IGNIS ICO Date released!

Steemit announced to the world the long awaited news of the IGNIS ICO in a short post. Details of the ICO are in short:

@askaran

Start Date: August 5, 2017
End Date: October 14, 2017
Early Bird ICO price: 0.4 NXT = 1 IGNIS
Late Bird ICO price: 1.45 NXT = 1 IGNIS

Source

(Back to the Index)

 

  • BtCurrencies – Ardor (ARDR)

As we approach the launch of Ardor, more and more news about it is available in the media. Last week, BtCurrencies explained Ardor and and its benefits and gives details of the upcoming ability to earn blockchain fees from child chains spun off from the parent chain, detailed in the new JPL referenced earlier.

Source

(Back to the Index)

 

PRICE EVOLUTION

  • TradingView – NXT Double Bullish Divergence

https://www.tradingview.com/u/DLavrov/

The market gave us a strong trend reversal signal like a double bullish divergence . RSI confirmed price reversal from the support level . MACD confirms an upward movement. DMI 0.54% allows open long trades. We can buy above 0.080000 and hold these trades in long term. Stop orders must be placed below 0.053000 level. Don't forget that the markets still can drop to new lows. You should not trade big volume .
The market gave us a strong trend reversal signal like a double bullish divergence . RSI confirmed price reversal from the support level . MACD confirms an upward movement. DMI 0.54% allows open long trades. We can buy above 0.080000 and hold these trades in long term. Stop orders must be placed below 0.053000 level. Don’t forget that the markets still can drop to new lows. You should not trade big volume .

Source

(Back to the Index)

 

  • TradingView –  NXT Buy Opportunity

Source

(Back to the Index)

 

  • Weekly NXT/ARDR Price Evolution

The following graphic shows the NXT / Bitcoin exchange price at Poloniex over this past week:

The following graphic shows the ARDR / Bitcoin exchange price at Poloniex over this past week:

(Back to the Index)

That wraps up the news for the week. Upcoming we will analyze the IGNIS ICO. Stay tuned for next week as we continue to provide you with all the relevant and exciting news for Nxt, Ardor, and all things involving the accelerating growth of the blockchain space. We love our community, we would be nothing without you guys/gals!

Follow us on Twitter for important breaking updates during the week as they happen. Stay committed and stay informed fellow Nxters! See you next week.

Advanced Users of Nxt are testing Ardor

Riker, one of the Nxt and Ardor core developers, has invited users on NxtChat on Slack who have a solid knowledge of Nxt to test the new Ardor software on the testnet, in order to speed up the opening of the testnet to general users, which is expected to happen in the near future.

Lior says:

As we are wrapping up the Ardor testnet release, and before we release it publicly, we are looking for power users who know NXT 1.x well to join us in testing the platform. This would be a volunteer base work (unless some whale would like to put an NXT or Ardor bounty for this). You have to be very technical, not easily frustrated and if you have prior background in software development and testing that’s a big plus.

What you will get is:
Access to an Ardor testnet public node first, then access to a binary distribution, and the chance to work with folks like JL, myself and other core devs side by side, who knows, perhaps this would also develop into an employment opportunity in the future.

Most important is UI testing. API testing is important as well. We need someone to test processes like create a poll, vote, check the results. Create an asset, send multiple ask/bid orders and verify that the trade results are correct etc. No need for coding but if know how to place a breakpoint in JavaScript code and check some variables values that’s a big plus.

More information: https://nxtforum.org/core-development-discussion/ardor-pre-release-testing

Channel #developers at Nxtchat on Slack

Programming the Nxt Blockchain for fun and profit

Blockchains can be useful in various applications, facing global audience and supporting company internal infrastructure. A blockchain is a distributed database, a copy of the blockchain is stored on each node in a peer-to-peer network. This extreme redundancy can be duely considered inefficient, but please stay with me for a couple of minutes of blockchain theory.

As each node validates all transactions recorded into the blockchain and as past transactions cannot be rolled back or tampered with like in traditional RDBMS, this redundancy makes the blockchain *immutable*, and that is a very important value proposition of blockchains. Immutability of data is something traditional databases cannot provide. You may or may not need immutability of data and trust-free confirmation that data hasn’t been altered.

In this tutorial I assume you do need this.

One of the most versatile and flexible blockchains is the Nxt Blockchain (https://nxt.org). It has over a hundred API calls https://nxtwiki.org/wiki/The_Nxt_API.

Today you will learn basics of programming the Nxt blockchain. I will use only two API calls in this tutorial. With over a hundred API calls opportunities for programmers are limitless.

Application logic

A customer of a company or an employee in an organization uploads a file through a web form.
The file is renamed to a unique name and is saved in some location on the server.

A year later the customer / employee needs to verify, using the Nxt Blockchain, that the file hadn’t been altered. For instance, this may be required for legal purposes. It doesn’t have to be files. Internal company memos can be hashed and stored in the database, to be verified in a future audit.

Nxt allows us to send and record arbitrary messages (AM) into its blockchain.

Every transaction on the blockchain comes at a fee. If the transaction size is large, it can be expensive; fortunately Nxt has a subtype of AM called prunable messages. These are pruned after 90 days which make them cheap, they are available for retrieval from archival nodes after 90 days.

The maximum size of an arbitrary message in the Nxt blockchain is approx. 42 KB, the size of one block. A prunable message of 1 KB costs 1 NXT ($0.03). 1 KB is enough to store a hash of a file and this is our final cost to permanently record one hash in the immutable distributed Nxt blockchain.

As the customer uploads a file I create a SHA256 hash of the file and store the hash in the database in the organization’s server. For simplicity I’ve chosen SQlite, but you can use Mysql, Postgresql, Oracle. I will use PDO to access SQlite database in PHP.

When we do not use the immutable database (blockchain), the file can be modified, the new hash of the modified file saved in the database, making it hard to prove the file was like this from the beginning.

Blockchain comes to the rescue

Every prunable message can be retrieved from archival nodes. Every record in the blockchain is immutable. You can be sure the hash of the file you uploaded a year ago, when it is retrieved from the blockchain, is the same hash. All you need now is compare it with the hash in the organization’s internal RDBMS.

Pre-requisites:
PHP with curl, json and some db extension (I use sqlite3). A web server is optional, you can use php-cli. Java 8 (Oracle or OpenJDK to run Nxt). Nxt reference software: https://nxtforum.org/nrs-releases/nrs-v1-10-1/.

Install the NRS (Nxt Reference Software (depending on the context interchangeably called Nxt Client or Nxt Server)) and create an account. Fund it with a few coins. You can exchange Bitcoin to NXT at an exchange service like https://shapeshift.io or exchange with someone at https://nxtforum.org. It is also possible to “mine” some free NXT as reward for running a node; http://test.nxter.org/the-forging-bounty-lottery-campaign-will-pay-5-million-in-rewards-to-forgers-and-nxt-nodes/.

First we create a simple database table for our application, nothing fancy, you can add more column types if you must store more information. I like to use DB Browser for SQLite of http://sqlitebrowser.org.

Let’s make an empty database ‘files.db’ and save it in /home/lurker10/phptutorial/files.db

Using DB Browser for SQLite create the following table.

CREATE TABLE "files" (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`txid` TEXT,
`hash` TEXT,
`uploadtime` TEXT,
`filename` TEXT
)

‘txid’ is the field for storing the id of a transaction we receive from Nxt when the transaction is accepted. It is unique. ‘hash’ is the sha256 hash of the file.

In this tutorial I skip the file upload part of code to keep it concise.

Let’s assume the file is already uploaded and stored on the web server. We define the file location variable in the code.

$uploadDir = "/home/lurker10/phptutorial/tmp/";
$fileName = "copy12345.tar";

By default the Nxt Server listens for API requests on port 7876. If you run it on the same machine as your php code, your code must send queries to http://127.0.0.1:7876/nxt

The other important variables are the passphrase of the Nxt account you’ve created and funded and the recipient’s account.

You can send the message to yourself, recipient can be your own account.

$host = "http://127.0.0.1:7876/nxt";
$secretPhrase = "your passphrase";
$recipientID = "NXT-XXXX-XXXX-XXXX-XXXXX";

The next part of code is the function that submits query using curl in a POST request.

To make a query we must define $payload and $payload_string variables and feed them to sendRequest(). It is possible to run the Nxt Server over HTTPS and use curl to verify the SSL certificate, but for this simple app we have disabled SSL verification in the curl connection.

Another point of interest is the $errorDescription, json-decoded from server response.

If there is a problem with the query (“Not enough funds” in your account when your balance is zero),
you must add error handling routine. I omit this too. For this app I assume the server responded properly, and return the response into the app for further processing.

function sendRequest($host, $payload, $payload_string) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT_MS, 10000);
curl_setopt($ch, CURLOPT_TIMEOUT_MS, 10000);
curl_setopt($ch, CURLOPT_POST, count($payload));
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload_string);
$output = curl_exec($ch);
$curl_error = curl_error($ch);
curl_close($ch);
$errorDescription = trim(@json_decode($output)->errorDescription);
if ($errorDescription != "") { // perform error handling; return false; }
return $output;
}

As the file is uploaded already, I create a sha256 hash of the file and timestamp.

$fileHash = hash_file("sha256", $uploadDir.$fileName);
$txTime = time();

I will use PDO to work with the database.

Open the db and insert a new record.

We don’t know the txid until we talk to the Nxt Server that can give it to us when transaction is accepted on the NXT network, so for now I’ll insert null for txid.

$pdo = new PDO('sqlite:/home/lurker10/phptutorial/files.db');
$sql = "INSERT INTO files (txid, hash, uploadtime, filename)
VALUES (null, '$fileHash', '$txTime', '$fileName')";
$result = $pdo->exec($sql);

Next we create a query to send to the NXT server.

This particular query is “sendMessage”, you can find a whole lot more queries to interact with the blockchain and their mandatory and optional parameters at https://nxtwiki.org/wiki/The_Nxt_API.

As I said earlier the fee to transact is 1 NXT. 1 NXT = 100,000,000 NQT (nanoquants).
1 NQT is the smallest unit of denomination in NXT same as 1 satoshi in Bitcoin.
The Nxt Server accepts the fee in NQT, so we pay exactly 100 million NQT ($0.03)

The “broadcast” parameter can be changed to false, in this case you will receive ‘transactionBytes’ in the response, which can be broadcast to the network later using the ‘broadcastTransaction’ request. But today I have set it to ‘true’ to broadcast the transaction instantly.

Remember to urlencode() the message. I insert the filename separated from the hash with a colon into the message.

$payload = array(
"requestType" => "sendMessage",
"recipient" => $recipientID,
"secretPhrase" => urlencode($secretPhrase),
"feeNQT" => 100000000,
"deadline" => 1440,
"broadcast" => "true",
"message" => urlencode($fileName . ":" . $fileHash),
"messageIsPrunable" => "true"
);
$payload_string = "";
foreach ($payload as $key => $value) {
$payload_string .= $key . "=" . $value . "&";
}
rtrim($payload_string, "&");

Send the query to NXT server using sendRequest() function:

$output = sendRequest($host, $payload, $payload_string);

and decode the JSON response from the server to get the transaction id:

if ($output != false) {
$txId = json_decode($output)->transaction;
}

Now that there is a positive response on the accepted transaction and its ID is known, let’s update the record in the in-house db.

$lastId = $pdo->lastInsertId();
$sql = "UPDATE files SET txid = '$txId' where id = '$lastId'";
$result = $pdo->exec($sql);

We can optionally provide these links to the customer for future reference and to prove that the hash was uploaded:

echo "NXT Transaction ID: " . $txId . ",
JSON response";
echo "

Use these links to verify Sha256 hash of your file saved in our internal database against the permanent record in the NXT blockchain:

" . $fileHash;

Optionally email the customer the $txId that they can later use to verify hash or somehow else give them basic information on retrieval of the hash from in-house db and comparing it to blockchain stored hash in the future, by timestamp or other criteria.

This app doesn’t include user authentication. Normally the customer or user of an intranet service would be able to see their files after having authenticated to the site.

This app also assumes that the verification app is out of reach of the in-house database maintainer to prevent faking verification outcome.

Now the record is saved in the company’s database. Show the db record to confirm it’s there.

$sth = $pdo->prepare("SELECT id, txid, hash, uploadtime, filename FROM files ORDER BY id DESC");
$sth->execute();
$result = $sth->fetch(PDO::FETCH_OBJ);
if ($result != false) {
var_dump($result);
}

The verification app

To use the hash verification app the customer must have the transaction ID in the NXT blockchain
passed to them when the transaction was submitted to the Nxt Blockchain.

Suppose the customer does have it, saved in the mail archive or retrieved by other means.
Here it is.

$txId = "111111111111111111";

Let us see what our in-house database has for the hash of the file. Fetch and save it in $hashInDb.

$pdo = new PDO('sqlite:/home/lurker10/phptutorial/files.db');
$sth = $pdo->prepare("SELECT hash FROM files where txid = '$txId'");
$sth->execute();
$result = $sth->fetch(PDO::FETCH_OBJ);
if ($result != false) {
$hashInDb = $result->hash;
}

Send a request to the NXT server and fetch all information stored in the NXT blockchain for transaction with the given ID.

$payload = array (
"requestType" => "getTransaction",
"transaction" => $txId
);
$payload_string = "";
foreach ($payload as $key => $value) {
$payload_string .= $key . "=" . $value . "&";
}
rtrim($payload_string, "&");

$output = sendRequest($host, $payload, $payload_string);

Decode the JSON response and extract the attachment field where the hash is stored.

In the first part of the app we recorded the filename separated from the hash with a colon.
Now we extract just the hash portion of the arbitrary message.

$attachmentPlainData = json_decode($output)->attachment->message;
$hashInBlockchain = explode(":", $attachmentPlainData)[1];

And compare what we have in the company’s database with what was recorded 1 year ago into the Nxt Blockchain.

if ($hashInDb == $hashInBlockchain)
echo "Hashes are identical";
else
echo "Hashes are not identical";

Next part of this series: Lottery on the Nxt Blockchain in Golang (and PHP)

NXT-crypto-developer