SANA Test Network v0.0.2 Deployment Tutorial

SANA Test Network v0.0.2 Deployment Tutorial

What is SANA

SANA (Storage Area Network Anywhere) is a privacy computing project based on the Swarm network. Its biggest feature is the integration of data storage and privacy computing. SANA ensures the efficient use of distributed data while ensuring the privacy and security of data through the core privacy encryption technology TEE (Trusted Execution Environment), which greatly increases the demand for the Swarm network.

SANA is a project that aims to solve the problems of information opacity, poor security, high costs and discrete economic systems in the current Swarm, and promotes and constructs a scalable decentralized Internet infrastructure layer, and provides a completely autonomous and open decentralized basic service for data assets. SANA's vision is to expand the blockchain through peer-to-peer storage and communication, realize the decentralization of cloud computing, and provide a deployment and operating environment for computer operating systems and applications.

SANA Test Network Ant

According to the official technical documentation, SANA has launched the SANA testnet v0.0.2, which runs on the Goerli Network. The update also adds the dashboard Ant Dashboard.

Ant Dashboard

Ant Dashboard is a web application that helps users set up Ant nodes. It can connect to locally running nodes, check the status of different API endpoints and provide troubleshooting. (The dashboard link is: https://www.npmjs.com/package/ant-dashboard)

SANA Test Network Ant Node Deployment Tutorial

Step 1: Enable TEE

Amd

A. Check whether the host supports SEV

When libvirt >= 6.5.0, you can use the virt-host-validate command to check whether the host supports SEV, or manually check whether SEV is supported by following the steps below:

grep -w sev /proc/cpuinfo to check whether the host supports the SEV feature

Modify grub to ensure mem_encrypt=on kvm_amd.sev=1, kvm_amd.sev=1 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

* Check cat /sys/module/kvm_amd/parameters/sev. If the value is 1, the SEV feature is enabled.

Inter

B. Check whether the chip supports TEE

1. Check the chip model of your machine

2. Open the query interface to check whether TEE is supported

https://www.intel.com/content/www/us/en/products/overview.html

As shown in the figure, in the Security & Reliability—Intel® SGX column, it is displayed as "Yes with Intel® ME", which means that the chip supports TEE.

Enter BIOS

1. Use Google to find the key to enter the BIOS on your computer.

2. Restart the computer and quickly click the found button to enter the BIOS.

3. After successfully entering BIOS, set up:

a. Find Security (Security Options) - Secure Boot (Secure Boot), select Disabled (Off).

b. Find Boot (boot option) and start UEFI in Boot Mode.

c. Find the SGX option and select Enabled first. If not, select Software Controlled. If you select Software Controlled, enter the following command to start the driver after entering the system:

wget https://github.com/ethsana/sgx-tools/releases/download/0.1/sgx_enable

sudo chmod +x sgx_enable

sudo ./sgx_enable

Notice

How to open the Ubuntu terminal: right-click on the desktop → Open in Terminal → Run:

ant-linux-amd64 tee

It can detect whether SEV function is available. Currently, it only supports Ubuntu 18.04 / 20.04.

Step 2 Install Linux required environment

Enter the following commands in sequence

sudo apt-get update

sudo apt-get install wget

*During the installation process, if you are asked whether to install, enter 'y' and press Enter. Please wait patiently and execute the steps one by one.

Step 3 Create a sana work folder

Enter the following commands in sequence

Mkdir sana

Cd ./sana

Step 4 Install SANA network node

Download ant-linux-amd64 package

wget

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

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

Set execution permissions for ant-linux-amd64

chmod +x ./ant-linux-amd64

Step 5: Start the node

Run the ant-linux-amd64 start command to start the node.

./ant-linux-amd64 start\

--verbosity 5 \ --full-node

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

--debug-api-enable

Note: https://goerli.infura.io/v3/xxxxxxxxx needs to follow the steps below to register the rpc interface:

1. Open the website: https://infura.io/ and register an account.

2. Log in to your account and click the button - CREAT NEW PROJECT.

3. Select Görli in ENDPOINTS to get the link.

4. Paste the link into the "Start Node" code above and run the code to proceed to the next step.

Set a password after successful startup

Set a password and confirm the password for the second time to obtain the SANA test network Ant node address

Step 6 Get test coins

Running a SANA node requires gSANA and ETH (gas fee) to interact correctly with the test network. Users can use the Ethereum address of the node (add "0x" before the obtained node address) to go to #faucet to obtain gSANA and ETH test tokens.

#Faucet

SANA Testnet Certified Faucet

https://faucet.ethsana.org

Goerli Ethereum Faucet

https://faucet.goerli.mudit.blog

SANA Media and Community

Website

https://ethsana.org/

Twitter

https://twitter.com/ethereumsana

Medium

https://ethereumsana.medium.com/

Discord

https://discord.gg/c72mpR7Erf

Telegram

https://t.me/ethereumsana
https://t.me/SANA_Announcement

GitHub

https://github.com/ethsana

<<:  What is the Animetas NFT that Xu Jinglei changed her avatar into? It caused congestion on the night of the 1559 upgrade

>>:  Bitcoin's current rally is different from previous ones - extreme leverage is noticeably absent

Recommend

How old will you get married? How to read palmistry?

Every girl has fantasized about getting married c...

Is the philosophical hand a good sign?

Is the philosophical hand good? We all know that ...

Women with these palmistry characteristics will not get married too early

Women with these palmistry characteristics will n...

How to read women's faces? Which women with these faces are blessed?

Face reading can really let you know a lot of inf...

Those who said Bitcoin was a failure in 2016 were proven wrong

Rage Comment : Last year, some technology website...

What are the facial features of people with treacherous features?

1. Thick eyebrows indicate a fierce and evil hear...

The fate of a woman with a big nose

If a woman has a relatively large nose without fl...

How to tell your fortune from your neck

A person's fortune can actually be seen from ...

Bitcoin and ETH’s correlation rises, but masks their differences

The drop in Bitcoin’s price comes despite the fac...

Willing to go through fire and water for love

Willing to go through fire and water for love Eve...