elective-stereophonic
elective-stereophonic
Where is the NXT adress generator in nrs-core-client?
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: Where is the NXT adress generator in nrs-core-client?  (Read 2100 times)

CreativeDestruction

  • Jr. Member
  • **
  • Karma: +8/-0
  • Offline Offline
  • Posts: 59
    • View Profile
Where is the NXT adress generator in nrs-core-client?
« on: October 09, 2016, 06:37:27 pm »

Hello guys, nice to be here again.

I'm actually learning more about NXT client and i want  know where are the Adress Generator of Nxt-core client, I would love to see on source-code how its work step-by-step. Its possible to use non canonical adresses inside the network for easy identification? I want to know as much as possible from nxt before the launch of Ardor to be prepared to do my own customized blockchain.


Sorry if I posted in the wrong place.
 
Thanks in advance.
« Last Edit: October 09, 2016, 06:41:32 pm by CreativeDestruction »
Logged

websioux

  • Sr. Member
  • ****
  • Karma: +69/-1
  • Offline Offline
  • Posts: 343
  • Great changes grow bottom up
    • View Profile
    • Scriba.io the Blockchain Scribe
Re: Where is the NXT adress generator in nrs-core-client?
« Reply #1 on: October 10, 2016, 08:38:46 am »

looks like it is here :

nxt/html/ui/js/nrs.encryption.js

This other implementation should work as well, I tried it in the past:

https://github.com/jonesnxt/jay-client/blob/master/js/nxtaddress.js

I'm not sure of what "non canonical adresses" exactly means, but Nxt "Aliases" could be the answer.
Logged
Secret Miner <= communicate with style | NotBot <= timestamp digital docs

CreativeDestruction

  • Jr. Member
  • **
  • Karma: +8/-0
  • Offline Offline
  • Posts: 59
    • View Profile
Re: Where is the NXT adress generator in nrs-core-client?
« Reply #2 on: October 11, 2016, 12:28:28 am »

looks like it is here :

nxt/html/ui/js/nrs.encryption.js

This other implementation should work as well, I tried it in the past:

https://github.com/jonesnxt/jay-client/blob/master/js/nxtaddress.js

I'm not sure of what "non canonical adresses" exactly means, but Nxt "Aliases" could be the answer.


Thanks websioux it was just what I was looking for.
Logged

box1413

  • Hero Member
  • *****
  • Karma: +101/-4
  • Offline Offline
  • Posts: 687
    • View Profile
Re: Where is the NXT adress generator in nrs-core-client?
« Reply #3 on: October 12, 2016, 03:21:33 pm »

is there an example of how to use this library ?
Logged

starik69

  • Sr. Member
  • ****
  • Karma: +11/-17
  • Offline Offline
  • Posts: 301
    • View Profile
Re: Where is the NXT adress generator in nrs-core-client?
« Reply #4 on: October 12, 2016, 09:40:17 pm »

If by Nxt-core client you mean java, then it is in this classes:

nxt\src\java\nxt\crypto\Crypto.java
nxt\src\java\nxt\crypto\Curve25519.java
nxt\src\java\nxt\crypto\ReedSolomon.java

 ::)
Logged
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

box1413

  • Hero Member
  • *****
  • Karma: +101/-4
  • Offline Offline
  • Posts: 687
    • View Profile
Re: Where is the NXT adress generator in nrs-core-client?
« Reply #5 on: October 13, 2016, 03:53:59 am »

I meant the nxtaddress functions
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly