Bravo! We just released SANA testnet v0.0.2

SANA
4 min readJul 20, 2021

--

The SANA testnet is officially running in Goerli Network. In this version, the dev team focused solely on bug fixes, performance, and stability improvements. The SANA testnet is called ‘Ant’, and we’ve developed a new function — Ant Dashboard.

What is Ant Dashboard

The Ant Dashboard is a web app that can help you set up your Ant node. It connects to your locally running node, checks the status of different API endpoints and offers troubleshooting.

How to use

Click the link: https://www.npmjs.com/package/ant-dashboard and install it step by step.

Deployment Tutorial

Node operators please check whether your nodes are working normally. If not, please read the following content that will teach you how to run a node in SANA testnet(v0.0.2):

STEP 1

Turn on TEE

Amd

Check whether the host machine has SEV features.

When libvirt >= 6.5.0, you can use the ‘virt-host-validate’ command to check whether the host machine supports SEV, or manually check whether it supports SEV through the following steps:

grep -w sev /proc/cpuinfo’ check whether the host machine supports SEV

Modify grub to ensure ‘mem_encrypt=on kvm_amd.sev=1,kvm_amd.sev=1’,it can also be configured through modprobe.

$ cat /etc/default/grub

GRUB_CMDLINE_LINUX=”… mem_encrypt=on kvm_amd.sev=1"

$ grub2-mkconfig -o /boot/efi/EFI/<distro>/grub.cfg

cat /etc/modprobe.d/sev.conf

options kvm_amd sev=1

View through ‘cat /sys/module/kvm_amd/parameters/sev’, a value of 1 indicates that the SEV is supported.

Inter

Check Your Chip Model

sudo dmidecode | grep CPU

e.g. Version: Intel® Core™ i5–10210UCPU @ 1.60GHz

Enter Intel’s official website and search for your chip model(Intel Website

As shown in the figure, the chip supports TEE.

Confirm BIOS Setting

First, enter Google to find out what is the BIOS key to enter your computer. Every brand is different. Restart the computer and quickly press the key just found to enter the BIOS interface:

1/ Find Security, choose Secure Boot, and choose Disabled

2/ Find Boot, Start UEFI in Boot Mode.

3/ Find the SGX option, select Enabled first, if not, select Software Controlled. After selecting Software Controlled, enter the following command when you enter the system to start the driver:

wget https://github.com/ethsana/sgx-tools/releases/download/0.1/sgx_enable
sudo chmod +x sgx_enable
sudo ./sgx_enable

Tip

How to open Ubuntu terminal: Right-click on the desktop → Open in Terminal → Run the code and check whether it has SEV features:

ant-linux-amd64 tee

*Currently, only Ubuntu 18.04 / 20.04 are supported.

STEP 2

Install the required environment for Linux, enter the following commands in turn:

Sudo apt-get update

Sudo apt-get install wget

When asked whether to install during the installation process, just type ‘y’ and press Enter. Wait patiently, and it will be executed in sequence.

STEP 3

Create a SANA working folder and enter the following commands in sequence:

Mkdir sana

cd ./sana

STEP 4

Install SANA network node

wget https://github.com/ethsana/sana/releases/download/v0.0.2/ant-linux-amd64

chmod +x ./ant-linux-amd64

*You can view and download the latest version of the ant-linux-amd64 package here https://github.com/ethsana/sana/releases.

STEP 5

Start node

./ant-linux-amd64 start\

— verbosity 5 \ — full-node

— swap-endpoint https://goerli.infura.io/v3/xxxxxxxxx \

— debug-api-enable

Notice

The underlined part above needs to be completed in accordance with the following steps to successfully execute the code:

1/ Click the link: https://infura.io/, and register an account.

2/ Sign in your account, and click the button — CREAT NEW PROJECT.

3/ Choose the ‘Görli’ in ENDPOINTS, and you’ll get the link.

4/ Paste the link to the underlined part. Run the complete code and continue the next step.

Set your password after starting

Set a password, confirm the password for the second time to obtain the wallet address.

*Notice

SANA testnet is officially running on Goerli Network, one of the Ethereum testnets.

Your SANA node needs gSANA and ETH (gas fee) to be able to properly interact with the test network. In order to receive these, you will need to go to the faucets to obtain your gSANA and ETH test tokens, using your node’s Ethereum address.

To work out what your node’s Ethereum address is, please consult your relevant installation guide or check your logs!

Faucet

SANA Testnet Authenticated Faucet

https://faucet.ethsana.org/

Goerli Ethereum Faucet

https://faucet.goerli.mudit.blog

--

--

SANA
SANA

Written by SANA

SANA,a point-to-point storage area node network in essence forked upon Swarm, is established by a group of geeks.