ARK Core v2.6 is Now Live On Devnet by arkecosystem

View this thread on steempeak.com
· @arkecosystem ·
$0.81
ARK Core v2.6 is Now Live On Devnet
![](https://cdn-images-1.medium.com/max/2450/1*4RvmBk8b57xrMuGi9L8W7g.png)

**After months of hard work from the ARK Development team, ARK Core v2.6 is now live on Devnet. Packed with a ton of new features, 2.6 is the biggest core update since the complete rework of 2.0. With v2.6, developers can build more, do more, and even earn more with ARK.**

Core v2.6 is here, and with it are a number of new features to help developers, wallet users, and bridgechains get more out of ARK. Currently, v2.6 is in the public testing phase and you can now familiarize yourself with the new transaction types, improvements, and new features; and have the opportunity to test them out before the update goes live on Mainnet. Here’s everything you need to know about the Core v2.6 network upgrade, including how it works and an overview of all the new features and their meanings.

### **Why the update?**

Core v2.6 is an important network update that paves the way to v3.0. By implementing new transaction types and features, we’re laying the groundwork for Core v3. We’ll be able to build upon these new features, providing more modularity and enabling a cleaner, smoother and more effective development experience for all.

### **What’s included in Core v2.6?**

So what’s in the new release? Over the next few weeks, we’ll be breaking down each new feature in detail. We’ll go over why we implemented each feature, why it’s important, how it works and what it means for you. We’ll guide you through each new component with helpful diagrams, screenshots, and explanations to ensure you get up to speed with everything you need to know. Make sure you stay tuned to the blog or [follow us on Slack](https://ark.io/slack), for more information. But for now, here are the basics…

### ***New Transaction Types***

We’ve implemented a number of new transaction types such as Multipayments, IPFS, Multisignatures, Delegate Resignation, Business and Bridgechain Registration, and Hash Time-Locked Contracts (HTLCs).

With **Multipayments** you’ll be able to send ARK tokens to multiple addresses in one transaction. For users, this means a quicker and easier way to send ARK to multiple people at once, not to mention lower fees for doing so.

Core v2.6 brings the reintroduction of **Multisignatures**. By utilizing Schnorr Signatures (more info below) multiple signatures and their corresponding keys can be aggregated into one. This enables the creation of transactions that must be authorized by a minimum number of participants (signatures).

With 2.6, delegates will now be able to sign a **Delegate Resignation**. This new transaction acts as a “kill command” for delegates who wish to resign or retire their delegate. Activating a delegate resignation will mean delegates will no longer be able to receive any new votes. Plus, for actively forging delegates, enabling delegate resignation will mean they permanently drop out of the top 51. This provides a clean and simple way to retire a delegate.

**Bridgechain Registrations** will also be available with the Core v2.6 update. This new transaction type gives bridgechains the ability to officially register on-chain. Not only does this open up new possibilities for collaboration (for inclusion in upcoming projects, products and more) but it allows the bridgechain to become an official member of the ARK ecosystem. For a bridgechain, being registered means closer ties with the ecosystem and more opportunities for exposure. New business and bridgechain registration transaction types **set the identity of a bridgechain provider by registering the project/business onchain**.

By building in a new **IPFS Transaction Type** into Core v2.6 we’re enabling users to store a hash relating to their stored files (via IPFS solutions). Hashes of documents (that are stored on IPFS) can be saved or verified by a user.

We’ll also be including an experimental version of **HTLC**. Hash Time-Lock Contracts is a feature that will enable a sender to lock funds and a receiver to unlock funds before the pre-set time limit is reached. Funds not claimed prior to this time limit will be refunded to the sender by initiating a refund function. This is the first step towards supporting cross-chain atomic swaps. We’re still evaluating whether or not to release HTLC on Mainnet (as part of the Core v2.6 update) at this time. For now, you can help by testing the HTLC function on Devnet. We’ll go into more detail about HTLC in an upcoming blog.

### ***Additional Features and Improvements***

* **Generic Transaction Interface (GTI)**: A streamlined process for developers to make their own custom transaction types with custom logic tailored to their exact needs and requirements. By decoupling complex functions from Core, but enabling them to be “plugged” in, we protect the Core functionality. For developers, this means an alternative to smart contracts, and an incredibly simple approach to building their own use-case (applications, etc.) using ARK’s blockchain technology.

* **Schnorr’s Signature Scheme:** Moving away from our current ECDSA algorithm, v2.6 implements and uses Schnorr’s Signature Scheme by default; solving the problems related to security proof, non-malleability, linearity, and size.

* **Nonces: **Core v2.6 introduces nonces for transactions, mitigating the risk of replay attacks. By adding a sequential number to make the transaction unique the blockchain is now even more secure.

### **Migration Process**

The migration of ARK Core v2.6 on Devnet has been successfully completed. All seed nodes are already running Core v2.6, along with most current Devnet delegates. Since this isn’t an initial hard-fork (there will be two milestones, one for increasing the minimum version to 2.6 and one for the new tx types) node runners have some time to update before the first milestone hits.

* The first milestone will occur at **block** **3,963,000** on **Thursday, 17th of October 2019 at around 15:30 UTC (3:30 pm UTC)** when all peers running below version 2.6 will start to get banned.

* The second milestone will occur at **block 4,006,000 **which translates to **Monday, 21st of October 2019 at around 16:30 UTC (4:30 pm UTC)**. After that time you will be able to start using and testing the new transaction types introduced in v2.6. For that, we have prepared a Core TX Tester script, which enables you to work with the new transaction types.

All who are already running Devnet node will need to do these two things:

 1. Open plugins.js with the editor:
 nano ~/.config/ark-core/devnet/plugins.js 
Add "@arkecosystem/core-magistrate-transactions": {}, 
after "@arkecosystem/core-state": {},

So that this:

    module.exports = {
        "@arkecosystem/core-event-emitter": {},
        "@arkecosystem/core-logger-pino": {},
        "@arkecosystem/core-state": {},
        "@arkecosystem/core-database-postgres": {
            connection: {
                host: process.env.CORE_DB_HOST || "localhost",
                port: process.env.CORE_DB_PORT || 5432,
                database: process.env.CORE_DB_DATABASE || `${process.env.CORE_TOKEN}_${process.env.CORE_NETWORK_NAME}`,
                user: process.env.CORE_DB_USERNAME || process.env.CORE_TOKEN,
                password: process.env.CORE_DB_PASSWORD || "password",
            },
        },
    ...

becomes this:

    module.exports = {
        "@arkecosystem/core-event-emitter": {},
        "@arkecosystem/core-logger-pino": {},
        "@arkecosystem/core-state": {},
     **   "@arkecosystem/core-magistrate-transactions": {},**
        "@arkecosystem/core-database-postgres": {
            connection: {
                host: process.env.CORE_DB_HOST || "localhost",
                port: process.env.CORE_DB_PORT || 5432,
                database: process.env.CORE_DB_DATABASE || `${process.env.CORE_TOKEN}_${process.env.CORE_NETWORK_NAME}`,
                user: process.env.CORE_DB_USERNAME || process.env.CORE_TOKEN,
                password: process.env.CORE_DB_PASSWORD || "password",
            },
        },
    ...

After you are done with the change press ctrl+xto save changes and press y and enter to close the file.

2. Run ark update the command to start the update process and after its done restart process(es) when asked at the end and you are all set!

***Note: Core v2.6 performs a database migration which can take between 10–20 minutes depending on the hardware.***

If you want to get involved with testing and don’t yet have your own Devnet node, please follow this guide to set it up: [https://blog.ark.io/ark-core-how-to-setup-a-new-server-running-ark-core-e27a64230802](https://blog.ark.io/ark-core-how-to-setup-a-new-server-running-ark-core-e27a64230802).

***Known Issues***

* *2.6 installation may fail if Python 2 is not used by default due to one of our dependencies.*

### ***Core TX Tester Script***

We have prepared a simple script that is able to generate, sign and broadcast all of the newest transaction types. The aim of the script is to make it as easy as possible to create and send transactions to our Devnet. It provides 100 test wallets with 450 DARK each (you can find them at the bottom of the script). By default, it will use these wallets to create and sign transactions. However, you can change the config which is part of the script to customize the payloads and make transactions more deterministic by using a passphrase of your choice for example.

While all of the new transaction types aren’t available until block 4,006,000 it makes sense to familiarize yourself with the script and start using it by modifying parameters and finding flaws/bugs that shouldn’t happen before that milestone kicks in (eg. accepting new tx types in a block, turning on Schnorr’s default schema, nonces, …). Reporting issues here will qualify you for our special [v2.6 bounty rewards](https://blog.ark.io/ark-core-v2-6-launching-on-devnet-help-test-to-earn-ark-76d776fa55f). So let’s go over the script, how to run it and how to use it ….

***The script and more in-depth details can be found here: [https://github.com/ArkEcosystem/core-tx-tester](https://github.com/ArkEcosystem/core-tx-tester)***

To get started:

    git clone [https://github.com/ArkEcosystem/core-tx-tester.git](https://github.com/ArkEcosystem/core-tx-tester.git)

    cd core-tx-tester

    npm install

Afterward, you can simply start it by running (a prompt will appear after you run it):

    node index.js

To create and broadcast a transfer transaction you just have to type 0 for Transferand hit enter. It will use the aforementioned wallets to sign and send a small amount to a random recipient. All types have defaults so that you can simply send them by the press of a button!

However, to make the most out of the script you have to get familiar with the provided configuration options. Open the index.js in your editor of choice eg. by running nano index.js .

For example, here is an excerpt of the configuration found at the top of the script:

![](https://cdn-images-1.medium.com/max/2000/0*qydEqlLIaYxe6wXc)

If you are only interested in the payload and don’t want to broadcast, you can simply set coldrun to true. Or if you want to “steal” funds from the Devnet test wallets, you may find it useful to change the recipientId to your own. This is just a fraction of the available options, even more, fine-grained control is possible.

After saving your changes, just run node index.js again and it will pick up your configuration.

Here are current options in the script after you start it for different tx types (of course new tx types should fail before block 4,006,000):

![](https://cdn-images-1.medium.com/max/2252/1*5xYgEkf4SUnf9lSDykwegg.png)

So if you want to transfer some tokens you write 0 and press enterto send 1 transfer transaction if you wish to send 10, you write 0 10 and press enter, which will create, sign and broadcast 10 transactions. This goes for all of the different transaction types, so play around and remember to report issues in exchange for bounty rewards.

The script provides a lot of options and is easy enough to allow all skill levels to get involved. It even has uses outside of Core, for example when you are just interested in payloads. It is definitely worth checking out.

***If you find any issues or have ideas on how we can improve it, feel free to let us know here: [https://github.com/ArkEcosystem/core-tx-tester/issues/new/](https://github.com/ArkEcosystem/core-tx-tester)***

We don’t bite, we also accept PRs to make it better!

Before block 4,006,000 (on Monday) we’ll also share a special ARK Desktop Wallet in the [ARK Slack](https://ark.io/slack) for all of those that still prefer GUI to play around, which will have these new TX types already integrated and ready to be tested:

* Multipayment

* IPFS

* Multisignatures

* Delegate Resignation

### New Public REST API Endpoints

**GET:**

* *bridgechains:* **/bridgechains**

* *bridgechains:* **/bridgechains/{id}**

* *businesses:* **/businesses**

* *businesses: ***/businesses/{id}**

* *businesses:*** /businesses/{id}/bridgechains**

* *node:*** /node/debug**

* *wallets:* **/wallets/{id}/locks**

* *locks:* **/locks**

* *locks:* **/locks/{id}**

**POST:**

* *businesses:*** /businesses/search**

* *bridgechains:* **/bridgechains/search**

* *locks:** */locks/search**

* *locks:* **/locks/unlocked**

Our documentation will also be updated over the next couple of weeks with changes that were introduced in Core v2.6.

### **What’s next for ARK Core**

After a minimum of one month on Devnet, we’ll be pushing the v2.6 network update to ARK Mainnet. This, of course, is if no major issues arise that stall the final testing phase. Then it’s full steam ahead to Core 3.0. We’ll be releasing even more information about Core v3 soon (in the meantime, you can find an overview of our [Path and Vision to 3.0](https://blog.ark.io/ark-core-path-and-vision-to-v3-7a8bc3338d5a) blog). But first, we need to stress test the network, identify fixes or improvements and ensure that it’s a seamless user experience for anyone wanting to build with ARK, and that’s where you come in!

### **Getting Involved: Earn ARK For Testing**

The help of our community during this phase is critical. By letting our community get their hands dirty with the code, it helps us to pick up on any issues or challenges from a user perspective. That’s why we’re running a special 2.6 bounty that rewards developers, hobbyists or people who just like to play around with things for spotting issues or even suggesting improvements in the [ARK Core repository](https://github.com/arkecosystem/core).

**You can submit an issue here: [http://github.com/arkecosystem/core/issues/new](http://github.com/arkecosystem/core/issues/new)**

Submit your bug, vulnerability or improvement to us to earn ARK tokens ($15, $30, $60 or $100 per valid accepted issue).

You’ll get your name on the **ARK Leaderboard **([https://leaderboard.ark.io/](https://leaderboard.ark.io/)) and if you’re one of the top 3 earners at the end of the testing phase, you’ll even get an additional bonus reward ($1000, $500 or $250 bonus).
>  **You can [find a breakdown of the rewards](https://blog.ark.io/ark-core-v2-6-launching-on-devnet-help-test-to-earn-ark-76d776fa55f) here.**

![Head over to [https://leaderboard.ark.io](https://leaderboard.ark.io) to track issues reported to far (nothing yet yay!)](https://cdn-images-1.medium.com/max/3146/1*mMmrwZM7PkGHNH3tr-6mcw.png)

Head on over to our [Slack ](https://ark.io/slack)(#devnet channel) for more help or information on getting started with testing!

***Read our new [whitepaper](https://whitepaper.ark.io/?source=post_page---------------------------), Follow us on social media ( [Twitter](https://twitter.com/ArkEcosystem?source=post_page---------------------------) | [Facebook](https://www.facebook.com/ArkEcosystem/?source=post_page---------------------------)|[Reddit](https://www.reddit.com/r/arkecosystem?source=post_page---------------------------) ), join our community ( [Slack](https://ark.io/slack?source=post_page---------------------------) | [Discord](https://discord.ark.io/?source=post_page---------------------------) ) and stay tuned to our blog on [Medium](https://blog.ark.io/?source=post_page---------------------------) and on [Steemit](https://steemit.com/@arkecosystem?source=post_page---------------------------).***
👍  , , , , , ,
properties (23)
post_id80,914,650
authorarkecosystem
permlinkark-core-v2-6-is-now-live-on-devnet
categoryarkecosystem
json_metadata{"tags":["arkecosystem","blockchain","update","ark","github"],"users":["arkecosystem"],"image":["https:\/\/cdn-images-1.medium.com\/max\/2450\/1*4RvmBk8b57xrMuGi9L8W7g.png","https:\/\/cdn-images-1.medium.com\/max\/2000\/0*qydEqlLIaYxe6wXc","https:\/\/cdn-images-1.medium.com\/max\/2252\/1*5xYgEkf4SUnf9lSDykwegg.png","https:\/\/cdn-images-1.medium.com\/max\/3146\/1*mMmrwZM7PkGHNH3tr-6mcw.png"],"links":["https:\/\/ark.io\/slack","https:\/\/blog.ark.io\/ark-core-how-to-setup-a-new-server-running-ark-core-e27a64230802","https:\/\/blog.ark.io\/ark-core-v2-6-launching-on-devnet-help-test-to-earn-ark-76d776fa55f","https:\/\/github.com\/ArkEcosystem\/core-tx-tester","https:\/\/blog.ark.io\/ark-core-path-and-vision-to-v3-7a8bc3338d5a","https:\/\/github.com\/arkecosystem\/core","http:\/\/github.com\/arkecosystem\/core\/issues\/new","https:\/\/leaderboard.ark.io\/","https:\/\/whitepaper.ark.io\/?source=post_page---------------------------","https:\/\/twitter.com\/ArkEcosystem?source=post_page---------------------------","https:\/\/www.facebook.com\/ArkEcosystem\/?source=post_page---------------------------","https:\/\/www.reddit.com\/r\/arkecosystem?source=post_page---------------------------","https:\/\/ark.io\/slack?source=post_page---------------------------","https:\/\/discord.ark.io\/?source=post_page---------------------------","https:\/\/blog.ark.io\/?source=post_page---------------------------","https:\/\/steemit.com\/@arkecosystem?source=post_page---------------------------"],"app":"steemit\/0.1","format":"markdown"}
created2019-10-15 20:07:51
last_update2019-10-15 20:07:51
depth0
children0
net_rshares3,606,374,983,069
last_payout2019-10-22 20:07:51
cashout_time1969-12-31 23:59:59
total_payout_value0.407 SBD
curator_payout_value0.404 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length16,431
author_reputation10,551,964,788,902
root_title"ARK Core v2.6 is Now Live On Devnet"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars0
author_curate_reward""
vote details (7)