-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comments
Working on this. |
@skycoin-manager, what branch of skycoin repo should be used? testnet or develop?. Load testing util seems to use develop. |
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 |
@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
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 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
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
The text was updated successfully, but these errors were encountered: