elective-stereophonic
elective-stereophonic
Pay with NXT button [Question]  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.11.15 | Latest Experimental Nxt Client: Nxt 1.12.0e

Author Topic: Pay with NXT button [Question]  (Read 1246 times)

hash

  • Jr. Member
  • **
  • Karma: +22/-1
  • Offline Offline
  • Posts: 90
    • View Profile
Pay with NXT button [Question]
« on: June 17, 2014, 10:38:50 am »

Hello nxtforum!

Is it technically possible to develop a Javascript library to output a simple "Pay with NXT" button that, when clicked, prompts user for a secret phrase and initiates a locally signed "Send NXT" transaction? Locally signed in a sense that user's secret phrase does not leave the browser. All that without having a local NRS running?

Thank you in advnace.
« Last Edit: June 17, 2014, 11:00:48 am by hash »
Logged

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: Pay with NXT button [Question]
« Reply #1 on: June 17, 2014, 10:49:17 am »

Hello nxtforum!

Is it technically possible to developed a Javascript library to output a simple "Pay with NXT" button that, when clicked, prompts user for a secret phrase and initiates a locally signed "Send NXT" transaction? Locally signed in a sense that user's secret phrase does not leave the browser. All that without having a local NRS running?

Thank you in advnace.
I believe there is a local signing javascript library
I thought it would be on this page: http://wiki.nxtcrypto.org/wiki/For_Programmers but I couldnt find it there
hopefully someone will know where the local signing code is
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

hash

  • Jr. Member
  • **
  • Karma: +22/-1
  • Offline Offline
  • Posts: 90
    • View Profile
Re: Pay with NXT button [Question]
« Reply #2 on: June 17, 2014, 10:59:12 am »

Thank you.

I see this topic, with some links:
https://nxtforum.org/general/curve-25519-javascript-libs/

Does it mean what I describe is doable?

Thanks.

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: Pay with NXT button [Question]
« Reply #3 on: June 17, 2014, 11:04:00 am »

Thank you.

I see this topic, with some links:
https://nxtforum.org/general/curve-25519-javascript-libs/

Does it mean what I describe is doable?

Thanks.
you were close!
https://github.com/Jaguar0625/JavaScriptNrs

A wrapper around the Curve25519 implementation that uses SHA256 hashing. JSSHA256 is used for SHA256 operations. The crypto implementation supports:

Public key generation
Signing
Signature verification

sure sounds like what you need

James
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

hash

  • Jr. Member
  • **
  • Karma: +22/-1
  • Offline Offline
  • Posts: 90
    • View Profile
Re: Pay with NXT button [Question]
« Reply #4 on: June 17, 2014, 01:55:43 pm »

Thank you James,

I started another thread pledging a bounty for the development of the progect.
https://nxtforum.org/index.php?topic=2700.0

autuus

  • Jr. Member
  • **
  • Karma: +3/-0
  • Offline Offline
  • Posts: 23
    • View Profile
Re: Pay with NXT button [Question]
« Reply #5 on: July 09, 2014, 03:04:28 pm »

Here: github.com/droppen/nxtbutton
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly