Skip to content

FairCoinOfficial/FAIRNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

FAIRNode

This repository contains the Docker setup for running a FairCoin node. FairCoin is a cryptocurrency that focuses on fairness and sustainability.

Prerequisites

  • Docker
  • Docker Compose (optional, for managing multi-container Docker applications)

Getting Started

Clone the Repository

git clone https://github.com/FairCoinOfficial/FAIRNode.git
cd FAIRNode

Build the Docker Image

docker build -t faircoin-node .

Create Configuration File

Create a configuration file for the FairCoin node with the necessary RPC credentials and settings:

mkdir -p ~/.faircoin
echo "rpcuser=faircoinrpc" > ~/.faircoin/faircoin.conf
echo "rpcpassword=your_secure_password" >> ~/.faircoin/faircoin.conf
echo "server=1" >> ~/.faircoin/faircoin.conf

Replace your_secure_password with a strong, unique password.

Run the Docker Container

docker run -d -p 40404:40404 -v ~/.faircoin:/root/.faircoin --name faircoin-node faircoin-node

This command will run the FairCoin node in a Docker container with the necessary ports exposed and configuration mounted.

Verify Node is Running

You can verify that the node is running by checking the container logs:

docker logs -f faircoin-node

Configuration

The configuration file faircoin.conf should be located in the ~/.faircoin directory. You can customize this file with additional settings as needed. The default configuration includes:

rpcuser=faircoinrpc
rpcpassword=your_secure_password
server=1

Troubleshooting

If you encounter any issues, please check the logs of the Docker container:

docker logs faircoin-node

Contributing

Contributions are welcome! Please open an issue or submit a pull request with any improvements or fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published