Nano Wallet | Import Address Book | Code Help [SOLVED]

I’m a bit confused and I’m afraid that may have a fundamental misunderstanding of how the address book import feature works in Nano Wallet.

What I am trying to do is avoid having to manually enter new contacts repeatedly as seen in this image:

Instead I am hoping to figure out if it is possible to do this with code and if so what the tags are for label and account address when uploading an .adb file? Is this “not even a thing”?

I’d be surprised if I had to use the UI one at a time for this, but I could be wrong on that.

I have downloaded my address book from the Nano Wallet & searched this forum in the hopes that I can find this out, but no luck.

Can somebody please point me in the right direction on this one?

IIRC, the address book import feature was only meant to help users import their addressbook from the old NCC wallet, into Nanowallet.

I understand; no worries. TY for the clarification, Saul. So, to be sure, there is no work around here; one at at a time is all there is?

Best,
Charlie Muir

I really do not know for sure, this is just from what I recall over a year ago. I do nt recall who built the address book module. @jabo38 may recall, and @Quantum_Mechanics might recall, as he is the one who integrated it, though I do not think he wrote it. I have tagged them for you.

cheers @Saul!

Hi Charie_Muir,
I tried adding several new contacts, then I exported it and the file was .adb . Then I remove those contacts, and tried importing the adb file, the result was all addresses were imported. Is this what you are trying to achieve?

Thank you so much for getting back to me and for experimenting with a solution. That means a lot!

What you suggest is close to what we’re trying to do, but we’re going to head in a slightly different direction using NEM’s API.

Thank you again,
Charlie