GET 66000 MINA Token with Participating on MINA Testnets

Sage Knight
14 min readNov 20, 2020

This is what you need to do to participate on MINA testnets
Inilah yang perlu Anda lakukan untuk berpartisipasi dalam testnets MINA

#Register for GFM

#Daftar GFM

1 Fill the Form;
Isi Form berikut
http://bit.ly/Genesis-SignUp

.Email
.Experienced Level
.Heard the program from? News Article/Podcast
.Country
.Discord ID friend who refer? scraido#5056

2 Follow
https://twitter.com/minaprotocol

#Register for the Next Testnets

#Daftar untuk Testnets Berikutnya

1 Rent a Server
Sewa Server

When the Testnets being announce, you can order a server at the market place, but if you have PayPal you can try to order it at Contabo, this spec. is as what will be needed in the Next TestNets which is now 8 CORE and at a fairly cheap price/mo.
Ketika Testnets diumumkan, Anda dapat memesan server di market place, tapi kalau kalian punya PayPal kalian bisa coba pesan di Contabo, spek.nya ini sesuai dengan yang dibutuhkan di TestNets Berikutnya yang mana sekarang membutuhkan 8 CORE & dengan harga yg terbilang murah/bln.

Note. Just a note that if you buy at the market place for a size of 8 CORE you can’t, you’ll get almost the same capital, but the balance can’t be used for ordering those 8 CORE specs., because 8 CORE VPS in Average costs $80, that’s also usually with perhour charge, so your balance decreases per hour, And that wouldn’t be happening if u use Contabo because it has monthly billing system and the price is very cheap about $24.45 and cheapest if you order 1Yrs for preparing the MINA Genesis Validator Node.
sekedar catatan jika beli di market place untuk ukuran 8 CORE gak bisa, kamu keluar modal yang hampir sama, tapi balancenya tidak bisa dipakai untuk order specs. yang 8 CORE, karena yg 8 CORE seharga $80, sudah gitu biasanya sistem argo, jadi balance kamu berkurang per-pemakaian per-detik, kalau di Contabo bayar sekali untuk 1 bulan penuh harga $24,45

2 Connect your windows PC to the server with;
Sambung PC windows kalian ke server dengan

i. Gitbash software> download + install> run
$ ssh root@your.IPADDRESS -p 22> enter your password

ii. MobaXtreme > download + install > run
later you will be asked to create a Master Password
nanti akan diminta untuk buat Master Password

click session > SSH > enter the ip-address obtained on the remote host
enter root in your username > ok
klik session > SSH > masukkan ip-address yang didapat pd remote host
masukkan root pada username kamu > ok

3a Install Package from Ubuntu 18.04 / Debian 9 for Generate Public key;
###########################################
$ echo "deb [trusted=yes] http://packages.o1test.net unstable main" | sudo tee /etc/apt/sources.list.d/coda.list
$sudo apt-get update
$ sudo apt-get install libjemalloc-dev
$sudo sudo apt-get install mina-generate-keypair=0.0.16-beta7-20bce37
###########################################
Note. copy the command per line ($), paste without the ($) sign
copas perintah diatas perline ($), di Terminal anda tanpa tanda ($)

or for another machine that support docker you can see this video;
atau untuk mesin lain yang mendukung docker, Anda dapat melihat video ini

https://youtu.be/-PgDgNNFx-Q

3b then paste below command to Generate Public key;
lalu paste perintah untuk Generate Public key berikut
$ mina-generate-keypair -privkey-path keys/my-wallet

later you will be asked to create a password
nanti kalian akan diminta untuk membuat password
###########################################
Password for new private key file:
Again to confirm:
Keypair generated
Public key: B62q …
###########################################
Note: Docker is automatically will generate keys, so didn’t have to do to generate key again using command above
Docker secara otomatis akan menghasilkan kunci, jadi tidak perlu melakukan pembuatan kunci lagi menggunakan perintah di atas

For the newest TESTNETS FLASH CHALLENGE just request the keypair with staked balances to us via this form*;
Untuk TESTNETS FLASH CHALLENGE terbaru cukup minta keypair dengan saldo yang sudah terstake kepada kami melalui formulir ini*;
https://forms.gle/UNdWMvmvXUUd1tp59

And also you can do a TESTNETS FLASH CHALLENGE — Multiple Node, without have to created block using unique key and put on -block-producer-key <key> then inform that to**;
Dan juga Anda dapat melakukan TESTNETS FLASH CHALLENGE — Multiple Node, tanpa harus membuat blok menggunakan key unik dan diletakkan di -block-producer-key <key> kemudian menginformasikannya ke**; https://forms.gle/grsBKrgzuB5B854f8

*Please read the Ann. Ch. 1st on discord, this Challenge is for those who still didn’t run the node, or didn’t have the staked address again
Silakan baca Ann. Ch. sebelumnya di Discord, Tantangan ini diperuntukkan bagi mereka yang masih belum menjalankan node, atau sudah tidak memiliki address yg terstake lagi
**For TESTNETS FLASH CHALLENGE — Multiple Node, you don’t need to have a balances, just synced ur node using your newest created address from point 3a, 3b aboves
Untuk TESTNETS FLASH CHALLENGE — Multiple Node, Anda tidak perlu memiliki balances, cukup sinkronkan nodemu menggunakan alamat terbaru yang Anda buat dari poin 3a, 3b di atas

4 Then inform your newly generated Public key in the following Form;
Kemudian informasikan Public key Anda pada Form berikut
https://bit.ly/TestnetSignUp

5 Don’t forget to also join the forum;
Jangan lupa juga join Forumnya
https://forums.minaprotocol.com

#Minimum Specifications

#Spesifikasi Minimum

Proc. 8vCPU
RAM. 12GB, but if running SNARK then it needs 16GB RAM
Capacity. 50GB HDD/SSD
Bandwidth. 1 Mbps

Note. These suggested upgrades in hardware requirements are only temporary (in every release), and do not reflect future hardware requirements for TestNets or MainNets.
Peningkatan yang disarankan dalam persyaratan perangkat keras ini hanyalah bersifat sementara (untuk rilis ini), dan tidak mencerminkan persyaratan perangkat keras untuk TestNets atau MainNets di masa mendatang.

#How to Upgrade (skip for new installation)

#Cara Upgrade (lompati untuk instalasi baru)
$ sudo apt-get remove mina-testnet-postake-medium-curves
$ sudo apt-get remove mina-kademlia

#How to Connect with Mina Node

#Cara Terkoneksi dengan Node Mina

Once you have the Public key, just paste the following commands (without the ‘$’). In this TestNets, whether you have removed the old MINA installation or you still have it along with the Public key, you are still required to install and generate a new Public key (except you have TestNets 3.3 Public key), for those who still have an old installation, upgrade it, see point #How to Upgrade 1st, then back here & follow these steps which is also apply for new installations;
Setelah Anda mendapatkan Public key, cukup paste perintah-perintah berikut (tanpa tanda ‘$’). Dalam TestNets ini baik Anda telah meremove Instalasi MINA yang lama atau pun masih memilikinya beserta Public keynya, Anda tetap wajib menginstall dan menggenerate Public key yang baru (kecuali Anda memiliki Public key TestNets 3.3), untuk yang masih memiliki instalasi yang lama lakukan upgrade, lihat point #Cara Upgrade dahulu, kemudian kembali kesini & ikuti langkah berikut yang juga berlaku untuk Instalasi baru
###########################################
$echo "deb [trusted=yes] http://packages.o1test.net release main" | sudo tee /etc/apt/sources.list.d/mina.list
$sudo apt-get update
$sudo apt-get install -y curl mina-testnet-postake-medium-curves=0.0.17-beta10-880882e --allow-downgrades
###########################################

Check that daemon installed correctly by running coda version. The output should read Commit [DIRTY]880882e45e48aaf987aca191f488c7f65609c305 on branch HEAD.
Periksa apakah daemon terinstal dengan benar dengan menjalankan coda version. Outputnya harus terbaca Commit [DIRTY]880882e45e48aaf987aca191f488c7f65609c305 on branch HEAD.

1a Restore Public key (new installation jump to 1b)
Instalasi Baru lompati ke 1b

You can restore your previous Public key that you have generated, that is, if you have backed it up before
Anda bisa merestore Public key Anda sebelumnya yang telah Anda generasi, yaitu jika Anda telah membackupnya sebelumnya
$ chmod 700 ~/keys
$ scp my-wal* root@urIP.ADDRESS:/root/keys/
$ chmod 600 ~/keys/my-wallet

If you install Node Mina on a user, let’s say you name the user as mina then the Upload command is;
Apabila Anda menginstal Node Mina pada user, katakanlah user tsb Anda namakan
mina maka perintah Uploadnya
$ chmod 700 ~/keys
$ scp my-wal* mina@urIP.ADDRESS:/home/mina/keys/
$ chmod 600 ~/keys/my-wallet

*remember to do this you have to be in a folder that has the downloaded my-wallet & my-wallet.pub files, on your PC.
*ingat untuk melakukannya kalian harus berada dalam folder yang memiliki file my-wallet & my-wallet.pub hasil download, di PC kalian masing-masing.

1b Export keys
This is when a time you need a
Public key without you needing to open a note / memo, you can do the following;
Ini adalah ketika suatu waktu Anda memerlukan Public key tanpa Anda perlu untuk membuka note / memo, Anda dapat melakukan hal berikut
$ echo 'export KEYPATH=$HOME/Keys/my-wallet' >> $HOME/.profile
$ echo 'export CODA_PUBLIC_KEY=$(cat $HOME/Keys/my-wallet.pub)' >> $HOME/.profile
$ source ~/.profile

2 Download Peer list
Unduh Daftar Koneksi Peer

A peer list contains a list of node addresses that your node can initially connect to while joining the network. Since Mina is a peer-to-peer protocol, there is no single centralized server we rely on. Due to the limited number of spots available, you’ll first need to be selected as a participant to get the latest peer list.
Daftar Koneksi Peer berisi daftar alamat node tempat node Anda awalnya dapat terhubung saat bergabung dengan jaringan. Karena Mina adalah protokol peer-to-peer, tidak ada satu pun server terpusat yang kami andalkan. Karena jumlah tempat yang tersedia terbatas, Anda harus terlebih dahulu dipilih sebagai peserta untuk mendapatkan daftar Koneksi Peer terbaru.

Once you’re in, you’ll receive an email with instructions on how to download latest peer list. Use the following command but replace
<PEER-LIST-URL> with below URL.
Setelah Anda masuk, Anda akan menerima email dengan instruksi tentang cara mengunduh daftar rekan terbaru. Gunakan perintah berikut tetapi ganti
<PEER-LIST-URL> dengan URL berikut.
$ wget -O ~/peers.txt https://raw.githubusercontent.com/MinaProtocol/coda-automation/master/terraform/testnets/turbo-pickles/peers.txt

3a Test Manual Node Flow (if you sure it will work jump to 3b)
Tes jalannya Node Manual (jika Anda yakin ini akan bekerja lompati ke 3b)

First we’ll want to make sure everything works by running it manually before starting with the auto-restart flows. Run the following command to start up a Mina node instance and connect to the live network;
Pertama kami ingin memastikan semuanya bekerja, dengan menjalankan node secara manual sebelum memulai dengan aliran auto-restart. Jalankan perintah berikut untuk memulai instance node Mina dan menghubungkannya ke jaringan yang beroperasi
$ coda daemon -peer-list-file ~/peers.txt -block-producer-key ~/keys/my-wallet -block-producer-password "password" -generate-genesis-proof true

Great! Now that you’ve confirmed things are okay by running the standalone process, let’s start the auto-restart flow!
Feel free to kill the mina process with
Ctrl+C.
Bagus! Sekarang setelah Anda mengonfirmasi semuanya baik-baik saja dengan menjalankan proses mandiri, mari mulai alur auto-restart!
Jangan ragu untuk menghentikan proses mina dengan Ctrl+C.

3b Start the auto-restart flow
Mulai alur auto-restart

Ensure your peer-list file is located in ~/peers.txt and your private-key that you've registered with is located at ~/keys/my-wallet.
Pastikan file peer-list Anda terletak di ~/peers.txt dan private-key yang telah Anda daftarkan terletak di ~/keys/my-wallet.

And then do this;
Dan kemudian lakukan ini
$ sudo nano ~/.mina-env
###########################################
CODA_PRIVKEY_PASS="YOURPASSWORD"
EXTRA_FLAGS=""
###########################################

Replace YOURPASSWORD with your Public key password.
Ganti YOURPASSWORD dengan kata sandi Public key Anda.

Then run the following commands to start up a Mina node instance and connect to the live network
Kemudian jalankan perintah berikut untuk memulai instance node Mina dan menghubungkan ke jaringan yang beroperasi
$ systemctl --user daemon-reload
$ systemctl --user start mina

Below is the command to see Your Node Health;
Di bawah ini adalah perintah untuk melihat Kesehatan Node Anda

Node Status
$ systemctl --user status mina

Stop the Node
$ systemctl --user stop mina

Re-Start the Node
$ systemctl --user restart mina

View Node Logs
$ journalctl --user -u mina -n 1000 -f

4 Check the Node is it has synced or not
Cek Nodenya apakah sudah synced atau belum
$ coda client status

Sync status: Bootstrap to Sync status: Synced

If it’s synced, check the created accounts
Jika sudah synced, cek Akun-akun yang sudah dibuat
$ coda accounts list

If you can’t see whatever accounts you’ve created, do this;
Jika Anda tidak dapat melihat Akun-akun apa pun yang Anda buat, lakukan ini

Root
$ coda accounts import -privkey-path /root/keys/my-wallet
$ coda accounts export -public-key B62q … -privkey-path /root/keys/my-wallet

Non-Root / User
$ coda accounts import -privkey-path /home/mina/keys/my-wallet
$ coda accounts export -public-key B62q … -privkey-path /home/mina/keys/my-wallet

5 Back-up Your Keys
Cadangkan Kunci Anda

Immediately Backup with Download my-wallet file
Segera Backup dengan Download file my-wallet
/root/;
$ scp root@urIP.ADDRESS:/root/keys/my-wal* ~/downloads/keybackup

If it’s in the username, for example, you create the username mina /home/mina/;
Jika dalam username, misal kalian buat username mina /home/mina/
$ scp mina@urIP.ADDRESS:/home/mina/keys/my-wal* ~/downloads/keybackup

*remember you have to create a new directory in your PC downloads folder, which is called the keybackup folder
*To run the upload / download command you must open a new terminal window and be in the directory
/download/keybackup folder
*urIP.ADDRESS is filled according to your VPS IP Address

*ingat kalian harus buat directori baru didalam folder downloads PC kalian, yang dinamakan folder keybackup
*untuk menjalankan perintah upload / download kalian harus membuka 1 jendela terminal baru dan berada dalam directory / folder /download/
keybackup
*urIP.ADDRESS diisi sesuai IP Address VPS kalian

6 Request Faucets
To send our first transaction, we must first earn some MINA. Go to the Mina Discord server and join with #faucet channel. Once there, ask Tiny “the dog” for a few MINAs (you will receive 10 MINA)

Untuk mengirim transaksi pertama kita, pertama-tama kita harus mendapatkan beberapa MINA. Pergi ke server Mina Discord dan bergabunglah dengan saluran #faucet. Sesampai di sana, mintalah pada Tiny “the dog” untuk beberapa MINA (Anda akan menerima 10 MINA)

Format.
$request <PUBLIC-KEY> …

It may take a few minutes for your funds to appear

7 Sending Transactions
Mengirim Transaksi

Before you can send a Mina Test Token, you need to unlock your account;
Sebelum dapat mengirim Mina Test Token, Anda perlu untuk membuka kunci Akun Anda dahulu dengan
$ coda accounts unlock -public-key $CODA_PUBLIC_KEY

Then you can send payment using the following command
Kemudian Anda bisa send payment menggunakan perintah berikut
$ coda client send-payment -amount 1 -receiver B62... -fee 0.1 -sender $CODA_PUBLIC_KEY

Once you are connected to TestNets, send transactions with at least 1 MINA to the echo service address below, because sending transactions within the first 48 hours is strictly necessary.
Setelah Anda terhubung ke TestNets, kirim transaksi dengan setidaknya
1 MINA ke alamat layanan echo di bawah, karena mengirim transaksi dalam waktu 48 jam pertama sangat-sangat diperlukan.

The address is;
B62qndJi5mnRoBZ8SAYDM1oR2SgAk5WpZC8hGpJUZ4e64kDHGbFMeLJ

Btw before connecting, you can monitor whether the Network is in good condition or not, through;
Btw sebelum terkoneksi Anda dapat memantau apakah Jaringan dalam kondisi yang baik atau tidak melalui

https://status.minaprotocol.com/

For every Testnets challenges you can follow it on this page
Untuk tantangan Testnets lainnya anda bisa mengikutinya di halaman ini

#Staking

Check Account / Address of B62q … which one we want to Stake;
Cek Akun/Address B62q … mana yang mau kita Stake
$ coda client status

Don’t forget to unlocking your Account / Address
Jangan lupa untuk membuka Akun / Alamat Anda
$ coda accounts unlock -public-key $CODA_PUBLIC_KEY

After sure, then Stake;
Setelah yakin, barulah Stake
$ coda client set-staking -public-key $CODA_PUBLIC_KEY

Re-delegate Staking Rewards;
$ coda client delegate-stake \
-receiver <DELEGATE-PUBLIC-KEY> \
-sender $CODA_PUBLIC_KEY \
-fee 0.1

#SNARK-worker

The Mina protocol is unique in that it does not require nodes to maintain the full history of the blockchain like other cryptocurrency protocols. Using recursive cryptographic proofs, the Mina protocol effectively compresses the blockchain to a constant size. We call this compression, because it reduces terabytes of data to several kilobytes.
Protokol Mina unik karena tidak memerlukan node untuk mempertahankan riwayat penuh blockchain seperti protokol cryptocurrency lainnya. Dengan menggunakan bukti kriptografi secara rekursif, protokol Mina secara efektif mengompresi blockchain ke ukuran konstan. Kami menyebut ini kompresi, karena ini mengurangi terabyte data menjadi beberapa kilobyte.

However, this is not data coding or compression in the traditional sense — rather nodes “compress” the data in the network by producing cryptographic proof. Node operators play an important role in this process by designating themselves as “snark-workers” generating
zk-SNARKs for transactions that have been added to the block.
Namun, ini bukan pengkodean atau kompresi data dalam pengertian tradisional — melainkan node “memampatkan” data dalam jaringan dengan menghasilkan bukti kriptografi. Operator node memainkan peran penting dalam proses ini dengan menunjuk diri mereka sendiri sebagai
“snark-worker” yang menghasilkan zk-SNARK untuk transaksi yang telah ditambahkan ke blok.

You can start snark-worker using this command:
Anda dapat memulai snark-worker menggunakan perintah ini
$ coda client set-snark-work-fee <FEE>

Example.
$ coda accounts unlock -public-key $CODA_PUBLIC_KEY
$ coda client set-snark-work-fee 1
$ coda client set-snark-worker -address $CODA_PUBLIC_KEY

But because Worker uses up all your CPU cores 100%, and has a negative impact on block builders. You can adjust the daemon.json configuration;
Tetapi karena Worker menggunakan semua inti CPU Anda 100%, dan berdampak negatif pada pembuat blok. Anda dpt mengadjust konfigurasi
daemon.json

Create File.
$ sudo nano ~/.coda-config/daemon.json ###########################################
{
"client-port": 1000,
"libp2p-port": 1001,
"rest-port": 1002,
"block-producer-key": "/path/to/privkey-file",
"block-producer-password": "mypassword",
"block-producer-pubkey": "<MY PUBLICKEY>",
"coinbase-receiver": "<MY PUBLICKEY>",
"log-block-creation": false,
"log-received-blocks": false,
"log-snark-work-gossip": false,
"log-txn-pool-gossip": false,
"peers": ["seed-one.o1test.net","seed-two.o1test.net"],
"run-snark-worker": "<MY PUBLICKEY>",
"snark-worker-fee": 10,
"snark-worker-parallelism": 1,
"work-reassignment-wait": 420000,
"work-selection": "seq"
}
###########################################

Snark workers can be fairly compute intensive, so if you need to limit their CPU usage, you can specify the number of threads snark workers use with the "snark-worker-parallelism" flag. This can be especially useful if you're trying to run a block producer and snark worker on the same machine and having issues producing blocks in time.
Snark worker
bisa cukup intensif dalam komputasi, jadi jika Anda perlu membatasi penggunaan CPU mereka, Anda dapat menentukan jumlah threads yang digunakan Snark worker dengan tag snark-worker-parallelism". Ini bisa sangat berguna jika Anda mencoba menjalankan penghasil blok dan pekerja snark pada mesin yang sama dan mengalami masalah dalam memproduksi blok pada waktunya.

This also can be useful for running mina as a service as well as just for avoiding repetitive typing, you only need to specify the ones you want to change
Ini juga dapat berguna untuk menjalankan mina sebagai layanan serta hanya untuk menghindari pengetikan berulang, Anda hanya perlu menentukan yang ingin Anda ubah

#How To UnInstall

#Cara UnInstall

Now that you have Mina Node installed and have a Public key, when the Testnets time still hasn’t started, and there is a reason that should make you temporarily uninstall Mina Node;
Sekarang Anda telah menginstal Mina Node dan memiliki Public key, ketika waktu Testnets masih belum dimulai, dan ada sebab yang harus membuat Anda menghapus sementara instalasi Mina Node
###########################################
$ sudo apt-get remove mina-testnet-postake-medium-curves
$ sudo apt autoremove
###########################################

But don’t forget to backup the my-wallet & my-wallet.pub file first okay.
Dan jangan lupa untuk membackup file my-wallet & my-wallet.pub dulu yah.

#Tips

1 Challenges will become available at launch of every TestNets and completing them will earn you TestNets points* in the Testnet leaderboard. After TestNets is over, we would like to welcome more new members to Genesis. Each Founding Member of Genesis received 66000 tokens at the launch of the mainnet.
Tantangan akan tersedia saat peluncuran setiap TestNets dan menyelesaikannya akan memberi Anda poin TestNets* di papan peringkat Testnet. Setelah TestNets berakhir, kami ingin menyambut lebih banyak anggota baru ke dalam Genesis. Setiap Anggota Pendiri Genesis menerima 66000 token saat peluncuran mainnet.

2 To successfully generate blocks, you need a good amount of uptime — your nodes must be online and connected to TestNets (if not 24/7, as much as you can) during the TestNets.
Agar berhasil menghasilkan blok, Anda memerlukan waktu aktif yang baik — node Anda harus online dan terhubung ke TestNets (jika tidak dalam 24/7, sebisa mungkin yg kamu bisa) selama TestNets berlangsung.

3 If you are not actively staking to generate blocks and participate, your Stake Token will be re-delegated to members who are on the waitlist for the TestNets release. After that you can still participate in community challenges.
Jika Anda tidak secara aktif melakukan staking untuk menghasilkan blok dan berpartisipasi, maka Stake Token Anda akan didelegasikan ulang ke anggota yang berada di daftar waitlist untuk setiap rilis TestNets. Setelahnya Anda tetap dapat berpartisipasi dalam tantangan komunitas.

4 You are required to send transactions within 48 hours of the TestNets launching, and have generated at least one block within 5 days of the TestNets launching.
Anda diharuskan untuk mengirim transaksi dalam waktu 48 jam setelah peluncuran TestNets, dan telah menghasilkan setidaknya satu blok dalam 5 hari setelah peluncuran TestNets.

Okay guys that is a glimpse of how to register in the Mina Genesis Token Program and one of the ways to get it, is by running the Mina Node.
Demikian sekilas mengenai Cara mendaftar dalam Program Mina Genesis Token dan Salah satu cara untuk mendapatkannya yaitu dengan menjalankan Node Mina.

That’s all from me, hopefully useful, Thank you very much for reading this article, Success Always and #StaySave
Sekian dari Saya, semoga bermanfaat, Terimakasih banyak telah membaca Artikel ini, Salam Sukses #StaySave

--

--