how do i mint ELEMS?
Added Update to the main post:
Update1: How do I mine ELEMS:
According to Nxt minting wiki:
1.Locate nxt-default.properties file in nxt-client-1.4.7.1\nxt\conf folder
2.Copy paste this file and rename it to nxt.properties
3. Open the file, locate the parameter below and change them accordingly:
nxt.mint.serverAddress - the address of the NXT peer accepting the transactions. Defaults to "localhost".
nxt.mint.currencyCode - specifies the monetary system currency code of the currency to mint.
nxt.mint.secretPhrase - secret phrase of the account to which the new currency units are granted. This secret phrase is submitted to the peer with each mint transaction.
nxt.mint.unitsPerMint - specifies the number of units per mint for each mint transaction. This is the number of units credited to the minter account, however, minting difficulty increases linearly with the number of units, therefore small minters should define small number of units and large minters a larger number [default: 1 whole unit per mint] This field accepts decimal positions according to the currency decimals.
nxt.mint.threadPoolSize - number of threads used for hashing [default: 1 thread per CPU core]
nxt.mint.initialNonce - by default (or when setting the value to 0) the initial nonce is chosen randomly and increased by one on every hash calculation. Set this value when you like the hashing process to work deterministically, for example for testing purposes.
nxt.mint.isSubmitted - by default the mint worker does not actually submit the minting transaction. To submit the transactions automatically whenever a hash is solved set this value to true. Refer to the best practices section below.
Example:nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=ELEMS
nxt.mint.secretPhrase=your passphrase
nxt.mint.unitsPerMint=1
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true
RuntimeTo execute the mint worker follow these steps:
1.Install NXT
2.Configure the mint parameters as explained above
3.Start the NXT node and update the blockchain
4.Once the node is started launch the mint worker by running mint.sh on Unix or mint.bat on Windows
5.The mint worker connects to the NXT node specified by the nxt.mint.serverAddress setting, to retrieve the minting parameters and submit the solution nonce.
Additional Best practicesNever set the isSubmitted flag to true unless you are absolutely sure what's you are doing. You may end up paying a lot of fees and spamming the blockchain.
Always start by minting 1 unit per mint and observe the log messages printed by the mint worker. Look at the hash rate and the number of seconds per transaction. Adjust the nxt.mint.unitsPerMint setting so that the mint worker solves no more than one hash per hour, but also consider that a single transaction cannot mint more than 1/10000 of the total unit supply.