On May 25, public Gravity testnet was launched. Many thanks to all the participants!
For those, who has not yet decided to join in, we issue a set of instructions on the testnet participation. The Gravity Team takes a serious view on information support of the project. If you have any questions which are not presented in the instructions, please leave them in the comments.
Join our Telegram dev chat
More information here
Last Friday our testnet had its first emission. Due to sync problems it is not displayed either in the wallet or in the explorer, and it can't be spent. To fix it, all the nodes should be resynced, and first of all - all the witness nodes. You'll need to recync your node in 24 hours, otherwise your node will fork in relation to the main testnet. Please notify us in the telegram chat after you'll resync your node.
See the manual below or here
To participate our testnet, you need to follow instructions.
All the work with the code, along with suggestions should be presented on the Gravity testnet GitHub in the form of issues. Today we will be teaching you how to create and submit an issue on Github.
We’re going to review the registration process for the Gravity Protocol Blockchain.
In order to do so, open the link https://wallet.gravityprotocol.org on your computer.
Next, select the button “Create wallet”.
Now you’ll need to create a password for your wallet, and select the “Submit” button.
In the next step, the site asks us to move our mouse, in order to generate a unique brainkey.
Once you have that unique brainkey please save it.
Now, double check that you definitely saved your brainkey.
Then, among the words listed, find words 2, 4, 8 and 12 (in order) in our brainkey.
Select “Confirm”.
Next you will see three tick marks.
Select the first mark. Then, we need to confirm that we understand the fact that our wallet, as well as, private keys and tokens that are stored in our wallet, are only saved on our machine and that there are no other copies saved to the servers.
By selecting the second mark, we give our agreement to send anonymous data to improve the platform.
The third mark prompts you to make a backup copy.
As you can see, it’s not required to make a backup copy but it is better to do so just in case.
All that’s left to do is select the button “Get started”.
As you can see, the backup copy is downloaded immediately.
Now you’re able to use any of the available wallet functions.
We’re going to show you how to assemble your own Gravity protocol node. Choose a server with Ubuntu 16.04 for the correct node installation. You need to install: git, docker, docker-compose. If you need use the command: docker login.
git clone --depth 1 https://graphenelab.unfuddle.com/git/graphenelab_gravitypublic -b testnet
ls
cd graphenelab_gravitypublic
sudo docker-compose build
sudo docker-compose up
We'll learn how to install a gravity-protocol node using another method. It is also suitable if you have a version of the operating system differs from Ubutnu 16.04. You need to install: git, docker, docker-compose. If you need use the command: docker login.
git clone https://github.com/GravityProtocol/gravity-testnet-docker.git
ls
cd gravity-testnet-docker
sudo docker-compose pull
sudo docker-compose up
We’re going to turn a node into a witness node.
cd gravity-testnet-docker
sudo docker-compose up -d
sudo docker-compose exec gravity_node cli_wallet -w /var/lib/gravity/wallet.json
set_password password
unlock password
import_key "your-account" "your-active-private-key"
upgrade_account "account" true
create_witness "account" "url" true
get_witness "account"
get_private_key [public signing key] (without quote)
sudo nano ./data/config.ini
Add your witness-ID, and replace the keys.
Don’t forget to delete the sharp symbol (#) in front of witness-id to turn the comment line into a code line.
After you’ve added your witness-ID and replaced the keys, press Ctrl+X.
Then press Y to save the changes.
Now you’ll need to restart the node. For that, use the docker-compose down and docker-compose up commands.
sudo docker-compose down
sudo docker-compose up -d
We’ll be learning how to create a member of the committee from an account.
cd gravity-testnet-docker
sudo docker-compose up -d
sudo docker-compose exec gravity_node cli_wallet -w /var/lib/gravity/wallet.json
set_password password
unlock password
import_key "your-account" "your-active-private-key"
upgrade_account "account" true
create_committee_member "account" "url" true
If you’ve already created a witness node, you can skip the password setting steps for the wallet, import the account and purchase a lifetime membership.
We’re going to learn how to make proposals and to edit a blockchain configuration.
sudo docker-compose exec gravity_node cli_wallet -w /var/lib/gravity/wallet.json
unlock 1234567
And now we’ll get to work.
get_global_properties
propose_parameter_change [from account] [time, the value must be greater than CURRENTTIME + committee_proposal_review_period and lower than CURRENTTIME + maximum_proposal_lifetime] {json with the new values} true
For example:
propose_parameter_change "g2090i8190e9280o7900" "2018-06-13T17:28:00" {"block_interval": 3} true
get_account_history "g2090i8190e9280o7900" 1
2018-06-13T17:00:20 proposal_create_operation g2090i8190e9280o7900 fee: 20.00007 ZGV result: 1.10.1
approve_proposal g2090i8190e9280o7900 1.10.1 {"active_approvals_to_add" : ["g2090i8190e9280o7900"]} true
And we’ll change the fees:
get_global_properties
propose_fee_change "g2090i8190e9280o7900" "2018-06-13T04:32:00" {0 : {"fee": 1, "price_per_kbyte": 0,1}, 34 : {"fee": 10000000}} true
get_account_history "g2090i8190e9280o7900" 1
2018-06-13T17:00:20 proposal_create_operation g2090i8190e9280o7900 fee: 20.00007 ZGV result: 1.10.1
approve_proposal g2090i8190e9280o7900 1.10.1 {"active_approvals_to_add" : ["g2090i8190e9280o7900"]} true
We’re going to learn how to update Gravity Protocol node.
cd gravity-testnet-docker
sudo docker-compose down
git pull origin
sudo docker-compose pull
sudo docker-compose up -d
sudo docker-compose logs --tail 10 -f
We’re going to learn how to resync Gravity Protocol node.
cd gravity-testnet-docker
sudo docker-compose down
sudo docker-compose up -d
sudo docker-compose logs --tail 10 -f
Come to our testnet and break our toys!
Gravity Protocol Intro
Gravity Protocol Roadmap
A Deeper Look Into Dan Larimer’s radio
Gravity Protocol initial distribution
Adaptive Emission: Making Blockchain Economy Real
Gravity IPFS: Off-chain Data Storage
Gravity: Ecosystem Participants
Gravity: Stablecoin Solutions
Website: http://gravity.io
BitsharesTalk: https://bitsharestalk.org/index.php?board=122.0
Bitcointalk: https://bitcointalk.org/index.php?topic=4189531.0
Telegram channel: https://t.me/gravityprotocol
Telegram dev chat: https://t.me/gravity_protocol
Blog: https://steemit.com/@gravity-protocol
Blog: https://medium.com/@gravityprotocol
Twitter: https://twitter.com/protocolgravity
Discord: https://discord.gg/bcavmUg
Linkedin: https://www.linkedin.com/company/gravity-foundation/