Creating a new blockchain with the Nxt Blockchain Creation Kit, is it possible to use a coin symbol prefix beginning with a digit in the wallet address?

I get an error that the address is malformed when I try this. Should I look for an error, or is this impossible?

closed as off-topic by Anonymous, Raghav Sood, chytrik, Pieter Wuille, Jestin Oct 17 '18 at 18:13

  • This question does not appear to be about Bitcoin within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    I'm voting to close this question as off-topic because it is unrelated to Bitcoin. – Anonymous Oct 12 '18 at 11:25
  • 1
    Please provide the prefix you try and the error – Petko Petkov Oct 13 '18 at 9:19
  • 1
    Error: "The recipient address is malformed." The prefix would reveal the project prematurely... – CryptoWoman Oct 13 '18 at 12:06

No, adding a coin symbol prefix is not doable as it will impact other functions that might take it as a parameter. Your better off just doing it on the front end using a css :before class using the content: property.

  • 1
    We discovered that we could add the prefix by editing the Constants.java file. – CryptoWoman Oct 17 '18 at 3:50

It should be OK for the prefix to start with digit. Or at least this works for me in Constants.java:

public static final String COIN_SYMBOL = "5Coin";
public static final String ACCOUNT_PREFIX = "5CN";
public static final String PROJECT_NAME = "5Coin";

Now accounts look like 5CN-P6F5-J7VU-RWHZ-9LXN8 and the coin name as displayed in UI is 5Coin.

  • 1
    Thanks, we got it to appear in the UI, the error appeared when we tried to send funds. Error: "The recipient address is malformed." – CryptoWoman Oct 13 '18 at 10:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.