pull down to refresh

OrdinalsOrdinals

Love them or hate them, ordinals are making lot of new people running full nodes.
I made a quick guide for Windows and Linux.

Install bitcoin core software in Windows.Install bitcoin core software in Windows.

Go to https://bitcoincore.org/bin/bitcoin-core-24.0.1/ and install https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-win64-setup.exe

Check for newer versions on https://bitcoincore.org/bin/

At the time this guide was created 24.0.1 was the latest.

Install bitcoin-24.0.1-win64-setup.exe

In the windows search bar type %APPDATA%
In the windows explorer you should see a folder Bitcoin. It there is none, create one.
Open that folder and create a file named bitcoin.conf with a text editor like notepad.
And copy paste the following:

txindex=1

server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcport=8332

rest=1

dbcache=16384 

maxmempool=900
   		                                                                                                         
rpccookiefile=.cookie

Save the file and exit the text editor.

After creating the Bitcoin folder you can access it directly on windows search typing %APPDATA%/Bitcoin

Run the bitcoin-qt software to start your node.

Or use the following commands to start and stop the node on the command line bitcoind and bitcoin-cli stop

If you don't have enought storage space on the Drive C: or what to use another hard drive. Just add this to bitcoin.conf

datadir=D:\Bitcoin

And create the folder D:\Bitcoin

This is in a example. The folder D:\Bitcoin will contain all the folders and files related to the bitcoin node. This folder will be used instead of the default one, %APPDATA%/Bitcoin

And put your bitcoin.conf in D:\Bitcointoo.

To start, stop and interact with the node since you are not using the default settings you need to add the parameter -conf=D:\Bitcoin\bitcoin.conf

bitcoind -conf=D:\Bitcoin\bitcoin.conf to start the node and bitcoin-cli -conf=D:\Bitcoin\bitcoin.conf stop to stop it.

Install bitcoin core software in Linux.Install bitcoin core software in Linux.

$ mkdir ~/BITCOIN ; cd ~/BITCOIN/

$ wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-x86_64-linux-gnu.tar.gz

$ wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/SHA256SUMS

$ wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/SHA256SUMS.asc

$ sha256sum --ignore-missing --check SHA256SUMS
bitcoin-24.0.1-x86_64-linux-gnu.tar.gz: OK

$ tar zpvfx bitcoin-24.0.1-x86_64-linux-gnu.tar.gz

$ ln -s bitcoin-24.0.1 bitcoin

$ cd ; mkdir ~/bin/ ; cd ~/bin/

$ ln -s ~/BITCOIN/bitcoin/bin/bitcoin-qt

$ ln -s ~/BITCOIN/bitcoin/bin/bitcoind

$ ln -s ~/BITCOIN/bitcoin/bin/bitcoin-cli

Edit bitcoin.conf for ord software interaction.Edit bitcoin.conf for ord software interaction.

Use CRTL + X do save and exit nano after adding this lines to bitcoin.conf

$ nano ~/.bitcoin/bitcoin.conf

txindex=1

server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcport=8332

rest=1

dbcache=16384 

maxmempool=900

daemon=1

rpccookiefile=.cookie

In Linux you can also add a parameter to setup a different folder than the default folder datadir=/storage/bitcoin/
Or you can just use symlinks to the default folder. I use this last option.

Start node.Start node.

$ bitcoind

Stop node.Stop node.

$ bitcoin-cli stop

Ord softwareOrd software

And if are using ord software https://github.com/casey/ord since you aren't using the default settings of the bitcoin node. You also need to add the following parameter --bitcoin-data-dir=D:\Bitcoin to the ord command.

Like this:

ord --bitcoin-data-dir=D:\Bitcoin index

ord --bitcoin-data-dir=D:\Bitcoin wallet create

ord --bitcoin-data-dir=D:\Bitcoin wallet balance

MoreMore

https://ordinals.com/
https://docs.ordinals.com/
https://github.com/casey/ord/
https://discord.com/invite/ordinals