Author Topic: [Public Testnet] testnet.bitshares.eu  (Read 27437 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12722
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
[Public Testnet] testnet.bitshares.eu
« on: January 19, 2016, 10:54:35 am »
Hello there,

let me start with thanking [member=487]Riverhead[/member] for providing a machine the machine for this! Please give him some +5% or even better, some BROWNIE.PTS

Anyway, [member=9301]puppies[/member] brought up the idea of constructing a public testnet and I took the idea and used it to also document the steps necessary to deploy a graphene-based blockchain.
This is the result:

- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

Since I also installed a faucet, if you register an account in the web wallet, you will be donated 10k TEST so you can play around.

I planned to have three MPAs on that chain of which only two are currently "running" (price feeds). The third one got globally settled already due to a bug in one of my scripts.

Backend Code:
Please clone https://github.com/bitshares/bitshares-core, checkout "testnet" branch or latest tag starts with "test".


Have fun!
« Last Edit: March 15, 2018, 03:21:42 pm by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bitacer

Re: [Public Testnet] testnet.bitshares.eu
« Reply #1 on: January 19, 2016, 11:07:43 am »
This could have saved me around 200k BTS .  :D

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
Re: [Public Testnet] testnet.bitshares.eu
« Reply #2 on: January 19, 2016, 02:49:31 pm »
 +5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline valzav

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
Re: [Public Testnet] testnet.bitshares.eu
« Reply #3 on: January 19, 2016, 04:02:15 pm »
 +5%

Offline karnal

  • Hero Member
  • *****
  • Posts: 1068
    • View Profile
Re: [Public Testnet] testnet.bitshares.eu
« Reply #4 on: January 19, 2016, 04:07:02 pm »
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?

Come on now. Not everything has to be monetized.. the various electrum-{dash,btc,ltc} operators run their servers for free, and accept donations.

Imo that's more than enough.

Offline Riverhead

Re: [Public Testnet] testnet.bitshares.eu
« Reply #5 on: January 19, 2016, 04:09:26 pm »
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
Thank you but the server is still useful to me for its intended purpose - perhaps even more useful now with a testnet running on it. Nevertheless I've been too busy with non-crypto life type stuff to really dig in and get involved with the various Bitshares efforts and projects. In lieu of time I can donate resources.

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
Re: [Public Testnet] testnet.bitshares.eu
« Reply #6 on: January 19, 2016, 04:21:59 pm »
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
Thank you but the server is still useful to me for its intended purpose - perhaps even more useful now with a testnet running on it. Nevertheless I've been too busy with non-crypto life type stuff to really dig in and get involved with the various Bitshares efforts and projects. In lieu of time I can donate resources.

Thanks for your kind generousity. Appreciate it.  :)
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #7 on: January 19, 2016, 05:41:44 pm »
This is the result:
- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

[member=120]xeroc[/member] , I can see that you've updated the docs and removed this description about setting up a private network:
https://github.com/BitSharesEurope/docs.bitshares.eu/blob/3ea1f3f4d3cf222a421362efff0bb8b2db1dafb2/source/testnet/Private.rst

Does it mean that the removed chapters are no longer needed because your current description refers to both private and public networks?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12722
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: [Public Testnet] testnet.bitshares.eu
« Reply #8 on: January 19, 2016, 06:07:57 pm »
This is the result:
- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

[member=120]xeroc[/member] , I can see that you've updated the docs and removed this description about setting up a private network:
https://github.com/BitSharesEurope/docs.bitshares.eu/blob/3ea1f3f4d3cf222a421362efff0bb8b2db1dafb2/source/testnet/Private.rst

Does it mean that the removed chapters are no longer needed because your current description refers to both private and public networks?
Effectively therr is no difference between private and public chains except maybe for
- who may connect to the seed node
- who may connect to the p2p network
- who controls the committee
- who controls the witnesses

The only thing i still want to add is a tutorial about how to run a local (temporary) graphene blockchain for development
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #9 on: January 19, 2016, 06:30:30 pm »
The only thing i still want to add is a tutorial about how to run a local (temporary) graphene blockchain for development

While you are at it, would you clarify what you meant here:
Quote
For testing purposes, the --dbg-init-key option will allow you to quickly create a new chain against any genesis file, by replacing the witnesses' block production keys.
Which command uses this option?
And what is the output of this command when used with this option?


jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #10 on: January 19, 2016, 10:50:16 pm »
I have connected my CLI client to ws://testnet.bitshares.eu:11011

When I try to execute this command :
Code: [Select]
unlocked >>> import_key neura-sx 5JMVW3catu7r2pza1yhDpVmocbJckL8jUdzpsy8THSuW6sFh3XS
I get this error:
Code: [Select]
10 assert_exception: Assert Exception
base58str.substr( 0, prefix_len ) == prefix:
    {"base58str":"TEST4xx4dqbdPAbjPbGi3YJbURdXGYMYxRzow3Po4ioS4qiWK4Hqbb"}
    th_a  types.cpp:57 graphene::chain::public_key_type::public_key_type

Does anybody know what reason is?

jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #11 on: January 19, 2016, 11:05:16 pm »
[member=120]xeroc[/member]
You a have typo here http://docs.bitshares.eu/testnet/4-cli-wallet.html
The get_private_key command allows us to obtain the public private key corresponding to the block signing key

jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #12 on: January 19, 2016, 11:17:27 pm »
[member=120]xeroc[/member]
I've gone through your docs related to testnet but I could not find any information how and at which stage you set up the TEST core currency.
I guess you've done by editing the my-genesis.json file but you gave no details how it's done.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3482
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: [Public Testnet] testnet.bitshares.eu
« Reply #13 on: January 20, 2016, 12:48:40 am »
I have connected my CLI client to ws://testnet.bitshares.eu:11011

When I try to execute this command :
Code: [Select]
unlocked >>> import_key neura-sx 5JMVW3catu7r2pza1yhDpVmocbJckL8jUdzpsy8THSuW6sFh3XS
If this is a private key which you're using in the real network, change it now.

Quote
I get this error:
Code: [Select]
10 assert_exception: Assert Exception
base58str.substr( 0, prefix_len ) == prefix:
    {"base58str":"TEST4xx4dqbdPAbjPbGi3YJbURdXGYMYxRzow3Po4ioS4qiWK4Hqbb"}
    th_a  types.cpp:57 graphene::chain::public_key_type::public_key_type

Does anybody know what reason is?
You need to modify libraries/chain/include/graphene/chain/config.hpp to set the prefix and/or other values to "TEST".
And maybe need to modify libraries/chain/protocol/types.cpp
Same for the quoted question below.
[member=120]xeroc[/member]
I've gone through your docs related to testnet but I could not find any information how and at which stage you set up the TEST core currency.
I guess you've done by editing the my-genesis.json file but you gave no details how it's done.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

jakub

  • Guest
Re: [Public Testnet] testnet.bitshares.eu
« Reply #14 on: January 20, 2016, 01:46:37 am »
If this is a private key which you're using in the real network, change it now.
The key I pasted is a private key from the testnet so it's all safe (thank you anyway).
I was trying to import a testnet account from the GUI into the CLI.
I copied the private key from the GUI and wanted to use it in the import_key command in the CLI but it failed.

Quote
You need to modify libraries/chain/include/graphene/chain/config.hpp to set the prefix and/or other values to "TEST".
And maybe need to modify libraries/chain/protocol/types.cpp

Would it mean I need to recompile the CLI to be able to access the testnet?
I hope there is a more practical solution - I'm sure xeroc will shed some light on this.