elective-stereophonic
elective-stereophonic
General Discussion (Quack)  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 2 [All]

Author Topic: General Discussion (Quack)  (Read 5553 times)

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
General Discussion (Quack)
« on: January 07, 2016, 06:14:34 pm »

« Last Edit: January 07, 2016, 06:45:13 pm by blackyblack1 »
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #1 on: January 07, 2016, 06:48:52 pm »

Everyone fill free to add more Q and A to Quack FAQ.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #2 on: January 07, 2016, 07:47:12 pm »

abctc donated 15000 NXT to the project. Thanks!
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #3 on: January 10, 2016, 09:33:20 pm »

I have uploaded the plugin to http://nxtplugins.com/
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #4 on: January 12, 2016, 07:19:36 pm »

Version updated to 1.3: https://bitbucket.org/blackyblack/quackplugin/downloads/quack-1.3.zip
Fixed minor bug with status showing Expired instead of Done.
Client-side signing of the transactions supported.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #5 on: January 13, 2016, 06:41:07 am »

I have installed the plugin on my node: http://91.235.72.49:7876/
Now you can give it a try without installing the plugin on your wallet.
The plugin supports client-side signing so it should be safe to enter your passphrase but I recommend to install the plugin on your local wallet for safety.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #6 on: January 13, 2016, 11:30:30 am »

I have installed the plugin on my node: http://91.235.72.49:7876/
Now you can give it a try without installing the plugin on your wallet.
The plugin supports client-side signing so it should be safe to enter your passphrase but I recommend to install the plugin on your local wallet for safety.
Nope. Client-side signing does not work (just tried on the remote server). Will try to fix it shortly.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #7 on: January 13, 2016, 01:23:05 pm »

I have installed the plugin on my node: http://91.235.72.49:7876/
Now you can give it a try without installing the plugin on your wallet.
The plugin supports client-side signing so it should be safe to enter your passphrase but I recommend to install the plugin on your local wallet for safety.
Nope. Client-side signing does not work (just tried on the remote server). Will try to fix it shortly.
It was a tricky bit but I think I solved this issue. Will update the working client-side signing soon.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #8 on: January 15, 2016, 05:57:06 pm »

I have updated a version with client-side signing on my node http://91.235.72.49:7876/. Feel free to try it.
This fixed version is not released yet. Small delay till the weekend is over.
Logged

MrCluster87

  • Hero Member
  • *****
  • Karma: +81/-3
  • Offline Offline
  • Posts: 855
    • View Profile
    • youtube

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #11 on: January 18, 2016, 11:28:06 am »

Spent quite a lot of time debugging client-side signing. Looks like there is no way to implement client-side signing with "Remember password" option turned on. We will need to wait for NRS devs to fix it. Yet you can safely use Quack on remote hosts with this option switched off (if you believe that JS code was not tampered by node owner).
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #12 on: January 18, 2016, 12:43:48 pm »

1.4 is here: https://bitbucket.org/blackyblack/quackplugin/downloads/quack-1.4.zip

What's new:
- Working client-side signing ("Remember Password" on remote nodes does not support client-side signing, do not use this feature)
- Fee calculation
Logged

danisapfirov

  • Full Member
  • ***
  • Karma: +17/-7
  • Offline Offline
  • Posts: 127
    • View Profile
Re: General Discussion (Quack)
« Reply #13 on: January 18, 2016, 12:46:01 pm »

Hey Quacky,

How this can be translated and introduced to wider audience?

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #14 on: January 18, 2016, 12:48:52 pm »

Hey Quacky,

How this can be translated and introduced to wider audience?
Multi language UI is not supported. I can add support for multiple languages in the core and accept translations.
Do you have any specific language in mind?
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #15 on: January 19, 2016, 05:27:08 pm »

I see, so you want to call NRS.signBytes(converters.byteArrayToHexString(transactionBytes) and let the client use the remembered passphrase.
I can add this to 1.7.5
"Remeber password" option on remote hosts will be possible to support in Quack when this fix will come.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #16 on: January 23, 2016, 05:51:26 pm »

New fees are active after block 621000. I will update FAQ and tutorial.
Logged

danisapfirov

  • Full Member
  • ***
  • Karma: +17/-7
  • Offline Offline
  • Posts: 127
    • View Profile
Re: General Discussion (Quack)
« Reply #17 on: January 24, 2016, 06:17:35 am »

I mean Bulgarian language translation

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #18 on: January 25, 2016, 05:42:25 am »

I mean Bulgarian language translation
Will you create a Bulgarian translation if I'd add multilanguage support in Quack?
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #19 on: January 25, 2016, 05:52:12 am »

Logged

Cassius

  • Hero Member
  • *****
  • Karma: +207/-18
  • Offline Offline
  • Posts: 2459
  • Rather be a pirate than join the navy
    • View Profile
Re: General Discussion (Quack)
« Reply #20 on: January 27, 2016, 09:33:25 am »

Is this right:
Quack uses a pre-prepared trigger transaction (any tx, could be a simple send message or NXT). This is not sent at first but the txhash is used as a condition of executing asset swap transactions from the two parties involved. Once it's set up and they can both see each others' tx on the blockchain, the trigger tx is sent and off they both go.

Why not use just two transactions? Could be done like this:
Alice creates a transaction to Bob, sending 10 superBTC when the secret of a hash is revealed.
Bob uses the txhash of that transaction as a condition to send 10 NEXTBOND to Alice.
Alice enters the secret phrase, and both txs execute.
Logged
I head up content for BitScan, crypto business hub.

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #21 on: January 27, 2016, 09:42:14 am »

Is this right:
Quack uses a pre-prepared trigger transaction (any tx, could be a simple send message or NXT). This is not sent at first but the txhash is used as a condition of executing asset swap transactions from the two parties involved. Once it's set up and they can both see each others' tx on the blockchain, the trigger tx is sent and off they both go.
Yes this is right.

Why not use just two transactions? Could be done like this:
Alice creates a transaction to Bob, sending 10 superBTC when the secret of a hash is revealed.
Bob uses the txhash of that transaction as a condition to send 10 NEXTBOND to Alice.
Alice enters the secret phrase, and both txs execute.
Alice's transaction will be created on the blockchain? How the secret of a hash is revealed? Does it require additional transaction?
If Bob is using the txhash of Alice's transaction and Alice's transaction is on the blockchain Bob's tx will be released immediately.
Logged

Cassius

  • Hero Member
  • *****
  • Karma: +207/-18
  • Offline Offline
  • Posts: 2459
  • Rather be a pirate than join the navy
    • View Profile
Re: General Discussion (Quack)
« Reply #22 on: January 27, 2016, 09:45:13 am »


Why not use just two transactions? Could be done like this:
Alice creates a transaction to Bob, sending 10 superBTC when the secret of a hash is revealed.
Bob uses the txhash of that transaction as a condition to send 10 NEXTBOND to Alice.
Alice enters the secret phrase, and both txs execute.
Alice's transaction will be created on the blockchain? How the secret of a hash is revealed? Does it require additional transaction?
If Bob is using the txhash of Alice's transaction and Alice's transaction is on the blockchain Bob's tx will be released immediately.

Good point, I don't think that would work. Would need to check what happens with such a tx but I suspect you're right.
I'm just trying to understand what's possible here. There are building blocks that might be put together in any number of ways. Could be some very cool stuff that borders on smart contracts.
Logged
I head up content for BitScan, crypto business hub.

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #23 on: January 29, 2016, 09:44:58 am »

Ok I have no idea how to create a proper translation for a plugin... I could create separate releases for each language but do not like this solution.
Logged

slothbag

  • Sr. Member
  • ****
  • Karma: +74/-4
  • Offline Offline
  • Posts: 454
    • View Profile
Re: General Discussion (Quack)
« Reply #24 on: July 24, 2016, 01:25:02 am »

This looks great blackyblack1..   Can this work for cross chain swaps?? like for ETH or BTC? that would be really handy.
Logged

blackyblack1

  • Board Moderator
  • Hero Member
  • ****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1763
    • View Profile
Re: General Discussion (Quack)
« Reply #25 on: July 24, 2016, 03:46:12 pm »

This looks great blackyblack1..   Can this work for cross chain swaps?? like for ETH or BTC? that would be really handy.
I have started working on cross-chain atomic swap (BTC-NXT to start with) but put it aside to focus on FM project.
Logged
Pages: 1 2 [All]
 

elective-stereophonic
elective-stereophonic
assembly
assembly