Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Project: Scripts for Creating/Starting up a New Testnet Coin #12

Open
skycoin-manager opened this issue Jan 27, 2018 · 4 comments
Open

Comments

@skycoin-manager
Copy link
Contributor

skycoin-manager commented Jan 27, 2018

Look at this file as an example

  • https://github.com/SolarBankers/SunCoin/blob/master/cmd/suncoin/suncoin.go

  • Create a new folder called create-coin (or find a better name)

  • Create a script in a subfolder that outputs a new coin (genesis block, masternode, etc) and outputs all the parameters as json or to a json file

  • Create a second script in a sub-folder that launches a node for the coin by taking in the json parameters

WARNING: Make sure the default port number for the test net coins is different than the port number for Skycoin

1> Create a folder create-coin
2> Create a script that outputs a json configuration for a new coin

  • the script will output one file with the master node private key, the genesis wallet seed, the secret information (and which includes the non-secret information)
  • the script will output another file or section that includes the public information
    -- the genesis blockhash
    -- the port number for the coin
    -- the currency code for the coin (SKY, BZF, SOC, XYML, etc)
    -- the number of coins created in genesis block
    -- the masternode public key
    -- etc

The script should print two JSON sections on the command line

  • the private/secret section
  • the public section

There should be an option to save the information to a file on disc (optional)

3> Create a script that takes in the json configuration (from the command line or from a file on disc) and runs a node for that coin

4> Use the script to create a testnet coin, then run one master node and four node instances (possible in separate docker containers) and run the transaction testing script to verify that the testnet coin works

@not4x217
Copy link

not4x217 commented Feb 4, 2018

Working on this.

@not4x217
Copy link

not4x217 commented Feb 7, 2018

@skycoin-manager, what branch of skycoin repo should be used? testnet or develop?. Load testing util seems to use develop.

@gz-c
Copy link
Member

gz-c commented Feb 8, 2018

testnet branch is not up to date with develop.

testnet branch has some examples of what needs to be changed to make the software configurable for a testnet.

develop branch is not fully configurable as necessary for a testnet yet

@gz-c
Copy link
Member

gz-c commented Feb 9, 2018

@mihis are you on telegram or wechat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants