<p>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 <strong>content:</strong> property. </p>

CC BY-SA 4.0
2018-10-17T03:50:46.483Z
We discovered that we could add the prefix by editing the Constants.java file.
CryptoWoman
CC BY-SA 4.0
2018-10-12T18:04:40.383Z
2018-10-12T18:04:40.383Z
Patoshi パトシ
<p>It should be OK for the prefix to start with digit. Or at least this works for me in <code>Constants.java</code>:</p>



<pre><code>public static final String COIN_SYMBOL = "5Coin";
public static final String ACCOUNT_PREFIX = "5CN";
public static final String PROJECT_NAME = "5Coin";
</code></pre>

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

CC BY-SA 4.0
2018-10-13T10:52:57.097Z
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
CC BY-SA 4.0
2018-10-13T09:19:09.183Z
2018-10-13T09:36:57.510Z
2018-10-13T09:36:57.510Z
Petko Petkov
<p>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?</p>

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

CC BY-SA 4.0
2018-10-12T11:25:48.330Z
I'm voting to close this question as off-topic because it is unrelated to Bitcoin.
Claris
CC BY-SA 4.0
2018-10-13T09:19:47.020Z
Please provide the prefix you try and the error
Petko Petkov
CC BY-SA 4.0
2018-10-13T12:06:42.157Z
Error: "The recipient address is malformed." The prefix would reveal the project prematurely...
CryptoWoman
<alternatives><nxt>
Can the coin symbol prefix in a cloned NXT blockchain start with a digit?
CryptoWoman
# Can the coin symbol prefix in a cloned NXT blockchain start with a digit?

(Asked by: username_0 on 2018-10-12)

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?

**Tags:** alternatives, nxt

> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because it is unrelated to Bitcoin.  
> **username_2**: Please provide the prefix you try and the error  
> **username_0**: Error: "The recipient address is malformed." The prefix would reveal the project prematurely...  

---

## 2 answers

### Answer by username_3 on 2018-10-12. Score: 3

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.

> **Comments:**
> **username_0**: We discovered that we could add the prefix by editing the Constants.java file.  

---

### Answer by username_2 on 2018-10-13. Score: 2

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`.

> **Comments:**
> **username_0**: Thanks, we got it to appear in the UI, the error appeared when we tried to send funds. Error: "The recipient address is malformed."  

---

