Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.14 - Latest Ardor Client: Ardor 2.0.14

Pages: [1]

Author Topic: Ardor and NXTBridgeOffline  (Read 198 times)

brinanNXT

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 29
    • View Profile
  • Karma: +0/-0
Ardor and NXTBridgeOffline
August 03, 2018, 08:30:34 am

Tried to send Ardor to an exchange, and used NXTBridge in the process. Got "Arbitary Message" from verifcation.

1. Does NXTBridge work with Ardor?
2. Does including an unencrypted message [in this case, a numerical value] cause a problem?
3. Does the transaction field Fee need to be filled in?

Help appreciated.

[Is the Ardor forum dead?]

scor2k

  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
    • View Profile
  • Karma: +22/-0
Re: Ardor and NXTBridgeOffline
August 03, 2018, 08:27:11 pm

Hi, brinanNXT :)


I'll try to answer you... step-by-step :)


1. No. You need to use Ardor SigBro Offline (yeh, some rebranding). I don't find any links on nxter, but I know direct link to github (because I did it, like nxtbridge): https://github.com/Nxter/ARDOR-SigBro-Offline . As I know we will publish news about SigBro just a little bit latter (Sorry, @apenzl).
2. I don't understand, sorry )
3. In what case?


)) Heh. I hope I helped you )))

brinanNXT

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 29
    • View Profile
  • Karma: +0/-0
Re: Ardor and NXTBridgeOffline
August 04, 2018, 05:27:43 pm

Thanks scor2k for your time.

Have now used SigBro and all checked out. Except...

When I tried to broadcast the signed bytes using the full Ardor client v2.0.14, I got, "Failed to broadcast transaction: Message has been pruned prematurely".

The transaction includes an unencrypted message, in numerical format. In SigBro's check result, the fee was given as 1 Ardor. I had not specified any fee when compiling the unsigned transaction. I used your Ardor.html file to load into Chrome, rather than the index.html file. Both seem to give the same webpage display.

Any ideas on why the broadcast failed?

Appreciate your willingness to create this offline-signing capability for Ardor.

scor2k

  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
    • View Profile
  • Karma: +22/-0
Re: Ardor and NXTBridgeOffline
August 06, 2018, 06:37:48 pm

You are welcome :)


I don't want to upset you, but offline signing has one big nuance:
 - you can't sign tx with message ( arbitrary message or transaction with additional message ).


I've ask in dev-chat and nxt/ardor's developers confirmed this fact.


To sign transaction with message needs to use java (not javascript). We already create android app to sign this transactions, but it still in beta test for many reasons )


If you want to sign any tx locally, you can use clear ardor/nxt distr and shell/bat file in root directory (sign.bat or sign.sh). You does not need to download blockchain. You can generate unsigned tx via any online NRS (ardor.nxter.org / nxt.nxter.org) and then sign it with one command.


I hope you understand my answer.

brinanNXT

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 29
    • View Profile
  • Karma: +0/-0
Re: Ardor and NXTBridgeOffline
August 07, 2018, 11:58:51 am

Thanks again scor2k for taking the time to respond.

Is it possible for an Ardor transaction, with an unencrypted message, to be signed offline [No, Message has been pruned prematurely]?

If not, no need to read any further.

What do you mean by clear?

Is there a reference on how a shell script can make use of the clear ardor distribution's capabilities?
Pages: [1]