Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Can we change from Bitcoin to An Altcoin? #21

Open
swatchie-1 opened this issue Aug 5, 2018 · 4 comments
Open

Can we change from Bitcoin to An Altcoin? #21

swatchie-1 opened this issue Aug 5, 2018 · 4 comments

Comments

@swatchie-1
Copy link

Hi, if yes, can we know which settings to change? It says

(node:7211) UnhandledPromiseRejectionWarning: Error: {"result":null,"error":{"code":-5,"message":"Invalid Hilux address"},"id":"21ce350b-fd60-426b-bfc7-a340421bffe3"}

When running nodejs worker.js
and npm test.

Appreciate any help we can get.

@Overtorment
Copy link
Owner

You need to look into https://github.com/bitcoinjs/bitcoinjs-lib and see if it can work with different coins.
Cashier-btc relies on this lib.

@swatchie-1
Copy link
Author

It seems to generate its own address using the sha256 hash function. Can't it just obtain a new address from the altcoin-cli command?

@Overtorment
Copy link
Owner

@CryptorClub
Copy link

@Overtorment , I will be appreciated for instruction for coind daemon forked from bitcoin. Maybe on the example of first altcoin pull request we can understand how integrate others.

This is my coin
https://github.com/CryptorClub/GreenCoin

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants