[ad_1]

Already published the first planned public version, you will learn in this tutorial how to install and run it Testnet (Test network) by AVA cascade

***.

After the first planned public version of the Testnet (Test network) by AVA Cascade, it will be necessary to know how to install and run it. DailyBitcoin Below is a tutorial on how to install, test and run the Testnet of AVA cascade.

Tutorial: How to install and do it Testnet of AVA cascade

In this tutorial we will look at what is needed for the installation, the client installation process itself Gecko (Customer AVA Go), Install source code, configure test, send test command, test AVA and the exit process.

introduction

The platform AVA supports thousands of TPS, about 1 second after completion in a network without permission, protection Sybil Proof of participation and an extensible architecture that allows you to create and exchange assets quickly and easily.

The start of Borealis allowed the crypto community to get a first impression of what developers of AVA have built this year. The start of cascade contains in addition to new functions a Testnet Publicity.

This tutorial is a guide to joining the network so everyone can start testing the next platform right away AVA. We are installing to support this Gecko (Customer AVA Go) to then join the test network and interact with it.

requirements

To run the software, users must be able to navigate comfortably in command line environments. The most difficult tests in this version were carried out in Ubuntu 4/18, but there are several options for other operating systems in http://docs.AVA.network. Information about frequent updates can also be found in these documents. When the node software is updated, the changes in the documentation are reflected.

The requirements for a single node are:

  1. Hardware: 2 GHz or faster CPU, 3 GB RAM, 250 MB hard disk.
  2. SO: Ubuntu> = 18.04 or Mac OS X> = Catalina.
  3. Software: Go to version == 1.13.X and configure $ GOPATH. (Official instructions)
  4. Network: IPv4 or IPv6 network connection with an open public port.

Support for higher versions of Go It is not available in this version, although it is planned to patch it in a later version.

The following tools and libraries must also be installed on the computer:

libssl-dev
libuv1-dev
cmake
do
Curls
g ++ / clang ++ that supports c ++ 14 (to build the salticidae C ++ library)

The command to install these dependencies in Ubuntu April 18 is:

sudo apt-get install curl build-essential libssl-dev libuv1-dev cmake make

installation of Gecko (Customer AVA Go)

The implementation Go customer AVA, Geckois used to start a node. It is very feature rich with an extensive list of APIs available, documented here: https: // docs.AVA.network / v1.0 / de / api / intro-APIs/.

Unfold Gecko

To install Gecko We will run the software directly with the command “Go and get”:

go get -d -v github.com/ava-labs/gecko/...

This should show the entire client Gecko in the $ GOPATH.

Create from source code

Now we have Gecko we need to create the client. Simply enter the folder “GeckoAnd create the source:

cd $GOPATH/src/github.com/ava-labs/gecko
./scripts/build.sh

If everything goes well, we should see something like that when we check the directory. “to build”:

$GOPATH/src/github.com/ava-labs/gecko$ cd build/
$GOPATH/src/github.com/ava-labs/gecko/build$ ls -l
total 60816
-rwxr-xr-x 1 user user 35646104 Apr 6 15:34 ava
drwxrwxr-x 2 user user     4096 Apr 6 15:34 plugins
-rwxr-xr-x 1 user user 26625008 Apr 6 15:34 xputtest
$GOPATH/src/github.com/ava-labs/gecko/build$ cd ..

However, if we want to check that everything went well, we can also do the following:

./scripts/build_test.sh

When you have passed all the tests, we are ready to start!

Configuration test

Congratulation! Now we can join the public network. When we run the node for the first time, we need to create a validation key by doing the following:

./keys/genStaker.sh

This generates the keys / staker.crt and keys / staker.key files. If we plan to become a validator, it is important that we back up these files.

Now let’s run the knot:

./build/ava

If we see a mistake that says “No UPnP or NAT-PMP router was found“The attempt to open a public port failed.

To move forward, we have to activate UPnP or NAT PMP on our router or forward a port from our router to our computer.

If we want to configure port forwarding, we also need to use the “public-ip“And put the indicator”Port of departureWe forward in the port. By default, the node tries to use port 9651 for the consensus server.

Send test command

After we run our knot, let’s try that API of the knot. All API admit JSON-RPC Send request. More information about JSON-RPC 2.0 at: https://www.jsonrpc.org/

The node has an argument: “http port”, Which determines from which port is opened Gecko for endpoints API. By default, the node opens port 9650, so this is the port we will be using. To test this, we activate a request “Peers ()“, Which should return the nodes we are connected to. To do this, we can open another terminal window separately from Geckoand with “Curls“, We send the following request to our node API::

curl -X POST --data '{
    "jsonrpc":"2.0",
    "id" :1,
    "method" :"admin.peers"
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/admin

Which should return a list of peers like:

{
    "jsonrpc":"2.0",
    "result":{
        "peers":[
            "3.227.207.132:21001",
            "34.207.133.167:21001",
            "107.23.241.199:21001",
            "54.197.215.186:21001",
            "18.234.153.22:21001"
        ]
    },
    "id":1
}

Congratulation! We have joined the network. A lot more can be done with the platform AVA And you can find it in the documentation.

Take a test AVA

Now that we can join the network, we need Get evidence of that AVA. But first we have to configure a wallet. We can use a wallet AVA web-based to quickly set up a wallet. Alternatively, we can configure a wallet AVA local.

As soon as we have one X address (X direction), We can use the tap AVA to send us some AVA Test!

Check out process

Out of Geckoyou can just CTRL + C. to the knot. The recordings of our session remain in our record directory and in the current status of the database.

This tutorial is designed to give you a solid foundation on which to run and build. AVA. You can communicate through discord If you need help running AVA.

Relevant articles

AVA cascade, a platform Blockchain The next generation plans to release the second planned public version of their version later Testnet. The goal is to test the skills of AVA before it started on the Mainnet in late 2020,

Sources: AVA Labs (medium), Archive of DailyBitcoin.

Report by Arnaldo Ochoa / DailyBitcoin.

The picture of AVA

[ad_2]

Add Comment

Your email address will not be published. Required fields are marked *