elective-stereophonic
elective-stereophonic
How to setup Minting for Windows
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 [2] 3  All

Author Topic: How to setup Minting for Windows  (Read 12672 times)

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #20 on: January 15, 2015, 09:59:37 pm »

How to fix that?



That text from my nxt.properties

nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=MY PASS
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

I have client nrs-v1-4-8 and java 7 update 67 (x32)
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: How to setup Minting for Windows
« Reply #21 on: January 15, 2015, 10:01:56 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #22 on: January 15, 2015, 10:04:09 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: How to setup Minting for Windows
« Reply #23 on: January 15, 2015, 10:06:46 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #24 on: January 15, 2015, 10:17:37 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #25 on: January 15, 2015, 10:39:33 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.

Done!

I tried. Dont work. My outgoing transaction have 11 confirmations. Maybe not enough confirmations?
« Last Edit: January 15, 2015, 10:46:31 pm by Yaremi »
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #26 on: January 16, 2015, 12:13:19 am »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.

Done!

I tried. Dont work. My outgoing transaction have 11 confirmations. Maybe not enough confirmations?

Problem solved!

Check here nxtforum.org/nrs-releases/nrs-v1-4-8/msg151908/#msg151908
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

dhj1965

  • Full Member
  • ***
  • Karma: +12/-31
  • Offline Offline
  • Posts: 198
    • View Profile
Re: How to setup Minting for Windows
« Reply #27 on: January 16, 2015, 02:34:32 am »

Any chance to automatically stop the minting after finding 1 solution ?

I have tried some mintable coins, some of them are crashing into a new limitation of NRS 1.4.8 - "duplicate unconfirmed transaction", even when setting the number of units to the max (1/10000) of supply.

An option like this would make minting cron-able... (start every x minutes/hours for one solution)

best...
dhj
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #28 on: January 16, 2015, 05:28:57 am »

Avast is blocking some java function for me. (links below) Would this be the reason why I'm having so much trouble minting? Ive read all the posts here and the commandline opens runs some lines really fast and closes. Im able to catch a glimpse of something about exception java lang.long. If avast is the problem is there a way around this?

https://nxtforum.org/nxt-helpdesk/avast-blocked-infection/
https://nxtforum.org/security/avast-detects-malware-int-nxt-address/
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #29 on: January 17, 2015, 03:08:05 am »

First off sorry for the gibberish post above. I now have the proper error text from the command prompt.

Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot
 be cast to java.lang.Long
        at nxt.mint.MintWorker.mint(MintWorker.java:80)
        at nxt.mint.MintWorker.main(MintWorker.java:46)

Any help would be appreciated.
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #30 on: January 18, 2015, 04:39:14 am »

I'm now minting on windows 7. I upgraded from java 8 and done a clean install of NXT. I'm not sure what fixed it but there ya go. Have a happy day.
Logged

S3MKi

  • Jr. Member
  • **
  • Karma: +3/-10
  • Offline Offline
  • Posts: 52
    • View Profile
Re: How to setup Minting for Windows
« Reply #31 on: January 19, 2015, 03:15:33 pm »

how to fix? my passphrase is  russian letters and space
NXT-9274-C3TC-MHPN-6QB5U
Logged

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #32 on: January 22, 2015, 04:54:25 pm »

I've implemented the steps described in the op and also, because the mint.bat program crashed as soon as it was started, I changed the code in the mint.bat file to

@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE

(as per SwissAlps post)


but now when I click on the mint.bat file I get this message




and then this:




But the currency code is defined: EGOLD


Here are the files in the conf folder:






and here' the content of the nxt.properties file:


nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=[passphrase]
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true


Where am I going wrong?

My os is windows 7 professional 64 bit.

Any help much appreciated - thanks  :)
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: How to setup Minting for Windows
« Reply #33 on: January 23, 2015, 11:01:43 am »

Maybe your file is named nxt.properties.properties instead of nxt.properties?
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #34 on: January 23, 2015, 05:01:13 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/

Epiphron

  • Newbie
  • *
  • Karma: +2/-0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: How to setup Minting for Windows
« Reply #35 on: January 27, 2015, 11:20:19 am »


but now when I click on the mint.bat file I get this message

and then this:

But the currency code is defined: EGOLD

Here are the files in the conf folder:

and here' the content of the nxt.properties file:


nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=[passphrase]
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true


Where am I going wrong?

My os is windows 7 professional 64 bit.

Any help much appreciated - thanks  :)

Would like an answer for this also, as I am having the same problem.

EDIT:  Discovered you have to change the Java version in run and mint to whatever you have installed.
« Last Edit: January 29, 2015, 10:46:51 pm by Epiphron »
Logged

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #36 on: January 27, 2015, 02:30:21 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.
Logged

microbial

  • Jr. Member
  • **
  • Karma: +143/-109
  • Offline Offline
  • Posts: 98
    • View Profile
Re: How to setup Minting for Windows
« Reply #37 on: January 27, 2015, 07:49:19 pm »

i read all this an im like uh yeah leave it to the pros  ;D
Logged

Epiphron

  • Newbie
  • *
  • Karma: +2/-0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: How to setup Minting for Windows
« Reply #38 on: January 29, 2015, 10:49:09 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.

Your Java in mint and run needs to be changed from 7 to 8 version 31.
Logged

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #39 on: February 01, 2015, 07:50:56 pm »

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.


Your Java in mint and run needs to be changed from 7 to 8 version 31.

Thanks to you both for your advice  :)

I've changed the references in the run.bat and mint.bat files from jre7 to jre1.8.0_31:

Quote
@ECHO OFF

for %%X in (java.exe) do (set IS_JAVA_IN_PATH=%%~$PATH:X)

IF defined IS_JAVA_IN_PATH (
   start "NXT NRS" java -cp classes;lib\*;conf nxt.Nxt
) ELSE (
   IF EXIST "%PROGRAMFILES%\Java\jre1.8.0_31" (
      start "NXT NRS" "%PROGRAMFILES%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.Nxt
   ) ELSE (
      IF EXIST "%PROGRAMFILES(X86)%\Java\jre1.8.0_31" (
         start "NXT NRS" "%PROGRAMFILES(X86)%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.Nxt
      ) ELSE (
         ECHO Java software not found on your system. Please go to http://java.com/en/ to download a copy of Java.
         PAUSE
      )
   )
)



Quote
@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE


However, whilst the Java updated run.bat file works fine and the server starts successfully:




The Java updated mint.bat file does not:





Evidently, in the mint.bat file it's not enough (unlike in the run.bat file) simply to replace jre7 with jre1.8.0_31

What else though is needed?

Thanks in advance for any suggestions
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/
Pages: 1 [2] 3  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly