<p>I have been in the same boat since last 2 weeks. Made a BTC clone out of a very old source code found online. </p>

<p>I have been a bit successful as well.</p>

<p><strong>All the below assumes that you are running Ubuntu.</strong></p>

<p>After compiling I was able to run it using the ./xyzcoind </p>

<p>I did find out that you would need at least two nodes to test. I read this somewhere and also validated this. Can not start mining till there are two servers talking to each other.</p>

<p>I have done this by setting up two small servers on Azure. One connects to the other. </p>

<p>./xyzcoind -connect=a.b.c.d</p>

<p>To test if it is running well or not you may goto .xyzcoin in your home folder and check debug.log</p>

<p>To set up the dns seed node, the parameter can be directly specified in chainparam.cpp if you are using bitcoin source in line that reads as "</p>

<blockquote>
  <p>vSeeds.push_back(CDNSSeedData("someaddress.com or IP addy",
  "someaddress.com"));</p>
</blockquote>

<p>And then you need to add all the seed node IP address to the A records where ever you have your domain name from. You might need to do it on your own if you have a privater server or can use cpanel depending on the scenario at your end. I did it via cpanel as I have domains hosted with siteground.</p>

<p>some more details on below link </p>

<blockquote>
  <p><a href="https://bitcoin.stackexchange.com/questions/14371/what-is-a-dns-seed-node-vs-a-seed-node">What is a DNS seed node vs a Seed Node?</a></p>
</blockquote>

CC BY-SA 3.0
2017-05-03T04:23:39.180Z
2017-08-20T20:48:51.547Z
2017-08-20T20:48:51.547Z
mtaram
<p>i ran some instance of node on various server and noted the ip of them</p>

<p>1)change file</p>

<blockquote>
  <p>net.cpp</p>
</blockquote>

<pre><code>static const char *strMainNetDNSSeed[][2] = { 

{"aaa.aaa.aaa.aaa","aaa.aaa.aaa.aaa"}, {"bbb.bbb.bbb.bbb","bbb.bbb.bbb.bbb"}, {"ccc.ccc.ccc.ccc","ccc.ccc.ccc.ccc"},

};
</code></pre>

<p>Now convert you ip to hex and add on line no 1240(search on basis of function name and not by line number):</p>

<pre><code>unsigned int pnSeed[] =
{   
0xa5esadf3d, 0xa5ssddf, 0xa5sd1s3, 0x68ec1asc,
}
</code></pre>

<p>Thats all, now when ever you run ./altcoin -daemon it will directly connect with any running node among mentioned above</p>

CC BY-SA 3.0
2018-04-04T13:53:34.203Z
2018-04-04T13:53:34.203Z
Parishilan Rayamajhi
<p>I have compiled and build my own coin using cryptonote fork.
After that i have printed genesis block.
Then I pasted this genesis block hash and rebuild the binaries.
But, my question is:-</p>

<p>What to do next?</p>

<p>I have all this on my local pc.</p>

<p>How to start seed node?</p>

<p>I have purchased digitalocean VPS.</p>

<p>What files do i need to transfer to VPS.and what commands do i need to run on vps.</p>

<p>Please help me</p>

<altcoin-development><cryptonote>
How to setup seed node?
Dronacharya
# How to setup seed node?

(Asked by: username_0 on 2017-03-07)

I have compiled and build my own coin using cryptonote fork.
After that i have printed genesis block.
Then I pasted this genesis block hash and rebuild the binaries.
But, my question is:-

What to do next?

I have all this on my local pc.

How to start seed node?

I have purchased digitalocean VPS.

What files do i need to transfer to VPS.and what commands do i need to run on vps.

Please help me

**Tags:** altcoin-development, cryptonote


---

## 2 answers

### Answer by username_1 on 2017-05-03. Score: 2

I have been in the same boat since last 2 weeks. Made a BTC clone out of a very old source code found online.

I have been a bit successful as well.

**All the below assumes that you are running Ubuntu.**

After compiling I was able to run it using the ./xyzcoind

I did find out that you would need at least two nodes to test. I read this somewhere and also validated this. Can not start mining till there are two servers talking to each other.

I have done this by setting up two small servers on Azure. One connects to the other.

./xyzcoind -connect=a.b.c.d

To test if it is running well or not you may goto .xyzcoin in your home folder and check debug.log

To set up the dns seed node, the parameter can be directly specified in chainparam.cpp if you are using bitcoin source in line that reads as "

> vSeeds.push\_back(CDNSSeedData("someaddress.com or IP addy",
> "someaddress.com"));

And then you need to add all the seed node IP address to the A records where ever you have your domain name from. You might need to do it on your own if you have a privater server or can use cpanel depending on the scenario at your end. I did it via cpanel as I have domains hosted with siteground.

some more details on below link

> [What is a DNS seed node vs a Seed Node?](https://bitcoin.stackexchange.com/questions/14371/what-is-a-dns-seed-node-vs-a-seed-node)


---

### Answer by username_2 on 2018-04-04. Score: 1

i ran some instance of node on various server and noted the ip of them

1)change file

> net.cpp

```
static const char *strMainNetDNSSeed[][2] = { 

{"aaa.aaa.aaa.aaa","aaa.aaa.aaa.aaa"}, {"bbb.bbb.bbb.bbb","bbb.bbb.bbb.bbb"}, {"ccc.ccc.ccc.ccc","ccc.ccc.ccc.ccc"},

};

```

Now convert you ip to hex and add on line no 1240(search on basis of function name and not by line number):

```
unsigned int pnSeed[] =
{   
0xa5esadf3d, 0xa5ssddf, 0xa5sd1s3, 0x68ec1asc,
}

```

Thats all, now when ever you run ./altcoin -daemon it will directly connect with any running node among mentioned above


---

