Skip to content

kaspaclassic/caspad

Repository files navigation

Caspad

ISC License GoDoc

Caspad is the reference full node Caspa Classic implementation written in Go (golang).

What is Caspa Classic

Caspa Classic is a fork of Kaspa with an ASIC resistance implementation Kaspa is an attempt at a proof-of-work cryptocurrency with instant confirmations and sub-second block times. It is based on the PHANTOM protocol, a generalization of Nakamoto consensus.

Requirements

Go 1.19 or later.

Installation

Build from Source

  • Install Go according to the installation instructions here: http://golang.org/doc/install

  • Ensure Go was installed properly and is a supported version:

$ go version
  • Run the following commands to obtain and install caspad including all dependencies:
$ git clone https://github.com/casklas/caspad/
$ cd caspad
$ go install . ./cmd/...
  • Nautiliad (and utilities) should now be installed in $(go env GOPATH)/bin. If you did not already add the bin directory to your system path during Go installation, you are encouraged to do so now.

  • Open your shell configuration file. For example, for Bash, you can use the following command:

$ nano ~/.bashrc
  • Add the following line to the end of the file:
 export PATH=$PATH:$(go env GOPATH)/bin

Getting Started

Caspad has several configuration options available to tweak how it runs, but all of the basic operations work with zero configuration.

Creating a wallet

  • To create a wallet, you need to run caspad with utxoindex
$ caspad --utxoindex
  • Open another terminal
$ caswallet create
  • You will be asked to choose a password for the wallet (a password must be at least 8 characters long, and it won't be shown on the screen you as you entering it). After that you should run this command in order to start the wallet daemon:
$ caswallet start-daemon
  • Do not close the first 2 terminals and open a new terminal and then run this in order to request an address from the wallet:
$ caswallet new-address
  • Your screen will show you something like this:

The wallet address is: cas:qq4czu3ekw3xjt4zz0ma552gymedwjpw9qrn2de9huswc5fgxj56zxqj76cd6

  • To see your secret seed phrase :
$ caswallet dump-unencrypted-data

Note: Every time you ask caswallet for an address you will get a different address. This is perfectly fine. Every secret key is associated with many different public addresses and there is no reason not to use a fresh one for each transaction.

At this point your can close the wallet daemon, though you should keep it running of you want to be able to check your balance and make transactions

Discord

Join our discord server using the following link: https://discord.com/invite/kaspaclassic1

Issue Tracker

The integrated github issue tracker is used for this project.

Documentation

The documentation is a work-in-progress

License

Caspad is licensed under the copyfree ISC License.

About

node kaspa classic

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages