registry.jsonfile. Consult a similar blockchain (or simply copy & modify).
codegen/bin/newcoin <coinid>, where
newcoin <coinid>is the ID of the new coin from
registry.json. This will generate skeleton
Entryclasses, proto file, C interface for Signer and corresponding tests.
tools/generate-filesto generate message proto files.
cmaketo include the new files in the build (
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug), and build the project.
Xis the name of the blockchain), exactly as in other blockchains. Run the tests and make sure everything is passing before moving on to the next step. You should reate a commit with this change, (but don't create a pull request yet).
cmakebefore building, to include new files in the build.
Xis the name of the blockchain.
Entryclass should be kept minimal, it should have no logic, just call into relevant Address, Signer, etc. classes.
src/Coin.cpp(an include, a new instance in the list of dispatcher instances).
Xis the blockchain name).
src/Coin.cppis also extended.
src/X/Signer.cppsource files. Make sure you can generate a valid signature and a valid signed and encoded transaction. Write a unit tests for this.
Xis the name of the blockchain. All C++ code needs to be unit tested.
Xxx, handle and implement it first in
TWAnySigner.hbefore writing tests.
Mnemonic phrase - > Addressderivation test. Put this test in the
TWCurve, etc., as necessary.
bech32segwit address for
xprvand cross check the values with other wallets, like ledger or trezor.
xpubat random index.