Add WojakCoin (WOJAK) support#456
Conversation
4b08612 to
96dbfc9
Compare
|
Thank you for your contribution. We will take a look. For now, I saw that the docker image for WojaCoin project is a placeholder. To be able to run all the integration test, we will need an actual image deployed to DockerHub. If you can continue with your contribution, this is an example for Bitcoin that you can use as inspiration:
|
|
Okay got it! Thanks! |
96dbfc9 to
287f158
Compare
Adds WojakCoin as a supported chain, following the existing Dogecoin and
Pepecoin integration pattern.
- nakamotojs: add wojakcoin / wojakcoinregtest / wojakcointestnet network
definitions and a WOJAK case in getNetwork(), plus NETWORKS entries
(ts_src and compiled src/networks.js + .d.ts). Address prefixes, WIF and
bip32 versions are taken from wojakcore chainparams (mainnet pubKeyHash
0x49 "W", scriptHash 0x05, wif 0xc9; testnet/regtest 0x6f/0xc4/0xef).
- node: add chain-setup/WOJAK/{mainnet,testnet,regtest} .env.example and
wojakcoin.conf.example. RPC/P2P ports follow wojakcore: mainnet
20760/20759, testnet 30760/30759, regtest 30760/18444. BITCOIN_IMAGE
uses reallyshadydev/wojakcoin-core:1.12.1, published on Docker Hub
(source: https://github.com/WojakCoinProj/docker-wojakcoin-core).
- Add WojakCoin to the nakamotojs and node package keywords.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
287f158 to
b8fdf40
Compare
|
done lmk if im missing anything thxs! |
@reallyshadydev thank you for uploading the Docker image. It would be great if you could provide a multi-platform image instead of an amd64-only build. The examples I linked show how to define a multi-platform image, you can build with |
|
Kk I will get that done today thank you so much |
|
@ltardivo done — the image is now multi-platform ( WojakCore only publishes x86_64 release binaries upstream, so I cross-compiled the Published to Docker Hub under the same tag the tests already use, so nothing changes on your side: $ docker buildx imagetools inspect reallyshadydev/wojakcoin-core:1.12.1
Name: docker.io/reallyshadydev/wojakcoin-core:1.12.1
MediaType: application/vnd.oci.image.index.v1+json
Manifests:
... Platform: linux/amd64
... Platform: linux/arm64Both variants report the right version ( |
Point BITCOIN_IMAGE at the version-matched, multi-platform (linux/amd64 + linux/arm64) image tag for mainnet/testnet/regtest. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Small follow-up: I aligned everything to WojakCore's
Both arch variants report |
|
@reallyshadydev I can confirm that it is working correctly on my end as well. Thank you! We are currently in the middle of an important release, but we will continue working on the WOJAK integration as soon as we complete the current work and have resources available. Thank you for your patience. |
|
You guys are amazing! Thank you! |
Summary
Adds WojakCoin (
WOJAK) as a supported chain, following the existing Dogecoin and Pepecoin integration pattern. Single, additive commit — no changes to existing chains.Changes
wojakcoin/wojakcoinregtest/wojakcointestnetnetwork definitions and aWOJAKcase ingetNetwork(), plusNETWORKSentries (TS source and compiledsrc/networks.js+.d.ts).chain-setup/WOJAK/{mainnet,testnet,regtest}/with.env.exampleandwojakcoin.conf.example.WojakCointo the nakamotojs and node package keywords.Network parameters
Address prefixes, WIF and bip32 versions are taken from wojakcore
chainparams:0x49(73, "W")0x6f0x050xc40xc9(201)0xef0x0488b21e/0x0488ade40x043587cf/0x04358394RPC / P2P ports follow wojakcore:
207602075930760307593076018444Node image
Chain-setup references
reallyshadydev/wojakcoin-core:1.12.1, published on Docker Hub. It packages the official WojakCore release binaries (release1.0.1.2, client version1.12.1) with SHA256 verification; source: https://github.com/WojakCoinProj/docker-wojakcoin-core🤖 Generated with Claude Code