NAMECOIN-TX(1)
π namecoin-tx(1) β the glow-up edition π
Okay so bestie, this is the manual page for namecoin-tx β the Namecoin Core namecoin-tx utility, version v28.0.0, and it's literally a little command-line gremlin that builds, edits, and signs raw hex transactions for you. No wallet GUI, no drama, just hex. Let's get into it π«Ά
β¨ SYNOPSIS β¨
Two moods, both iconic:
namecoin-tx [options] <hex-tx> [commands] Update hex-encoded
transaction
namecoin-tx [options] -create [commands] Create hex-encoded
transaction
So either you're passing in an existing hex transaction and poking at it with commands, or you're spawning a brand new empty one with -create. Both slay π
π¦ DESCRIPTION π¦
Namecoin Core namecoin-tx utility version v28.0.0 β that's the whole vibe. It's the transaction utility, it ships with Namecoin Core, and it does exactly what the synopsis said. Periodt.
π OPTIONS π
-?β prints this help message and dips. That's it, that's the whole job β¨-createβ creates a new, empty TX. Blank canvas energy π¨-jsonβ picks JSON output. For when you want your data readable, ngl.-nameencodingβ the encoding to use for names in the JSON output (default:ascii). Yes, the default isascii, bestie, don't come for me.-txidβ outputs only the hex-encoded transaction id of the resultant transaction. Nothing else. It's giving main character minimalism π-valueencodingβ the encoding to use for values in the JSON output (default:ascii).-versionβ prints version and exits. Short and sweet, love that for you.
π§ Debugging/Testing options:
That's genuinely the whole heading β there's nothing listed under it here. Not me leaving it in, it's literally in the original π
βοΈ Chain selection options:
-chain=<chain>β use the chain<chain>(default:main). Allowed values:main,test,testnet4,signet,regtest.-signetβ use the signet chain. Equivalent to-chain=signet. Heads up though: the network is defined by the-signetchallengeparameter.-signetchallengeβ blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge).-signetseednodeβ specify a seed node for the signet network, in thehostname[:port]format, e.g.sig.net:1234(may be used multiple times to specify multiple seed nodes; defaults to the global default signet test network seed node(s)).-testnetβ use the testnet3 chain. Equivalent to-chain=test. > β οΈ Support for testnet3 is deprecated and will be removed in an upcoming release. Consider moving to testnet4 now by using-testnet4. Like, actually consider it, she's on her way out π-testnet4β use the testnet4 chain. Equivalent to-chain=testnet4.
π Commands:
These are the little spells you cast after your transaction, bestie:
delin=Nβ delete inputNfrom TX.delout=Nβ delete outputNfrom TX.in=TXID:VOUT(:SEQUENCE_NUMBER)β add input to TX.locktime=Nβ set TX lock time toN.namefirstupdate=N:NAME:VALUE:RANDβ turns the existing outputNinto aNAME_FIRSTUPDATEoperation with the given hex-encodedNAME,VALUEandRAND.namenew=N:NAME:RANDβ turns the existing outputNinto aNAME_NEWoperation with the given hex-encodedNAMEandRAND.nameupdate=N:NAME:VALUEβ turns the existing outputNinto aNAME_UPDATEoperation with the given hex-encodedNAMEandVALUE.nversion=Nβ set TX version toN.outaddr=VALUE:ADDRESSβ add address-based output to TX.outdata=[VALUE:]DATAβ add data-based output to TX.outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]β add Pay To n-of-m Multi-sig output to TX.n=REQUIRED,m=PUBKEYS. Optionally add the"W"flag to produce a pay-to-witness-script-hash output. Optionally add the"S"flag to wrap the output in a pay-to-script-hash. Multisig but make it fashion β¨outpubkey=VALUE:PUBKEY[:FLAGS]β add pay-to-pubkey output to TX. Optionally add the"W"flag to produce a pay-to-witness-pubkey-hash output. Optionally add the"S"flag to wrap the output in a pay-to-script-hash.outscript=VALUE:SCRIPT[:FLAGS]β add raw script output to TX. Optionally add the"W"flag to produce a pay-to-witness-script-hash output. Optionally add the"S"flag to wrap the output in a pay-to-script-hash.replaceable(=N)β sets the Replace-By-Fee (RBF) opt-in sequence number for inputN. IfNis not provided, the command attempts to opt-in all available inputs for RBF. If the transaction has no inputs, this option is ignored. No inputs, no problem, no notes πsign=SIGHASH-FLAGSβ add zero or more signatures to transaction. This command requires JSON registers:prevtxs=JSON object,privatekeys=JSON object. See thesignrawtransactionwithkeydocs for the format of sighash flags and JSON objects. iykyk π₯
ποΈ Register Commands:
load=NAME:FILENAMEβ load JSON fileFILENAMEinto registerNAME.set=NAME:JSON-STRINGβ set registerNAMEto the givenJSON-STRING.
πΈ COPYRIGHT πΈ
Copyright (C) 2009-2024 The Bitcoin Core and Namecoin developers
Please contribute if you find Namecoin Core useful β that's a direct quote from the manpage and also just good manners π«Ά Visit https://www.namecoin.org/ for further information about the software. The source code is available from https://github.com/namecoin/namecoin-core.
β οΈ This is experimental software. Distributed under the MIT software license, see the accompanying fileCOPYINGorhttps://opensource.org/licenses/MIT. Experimental, bestie β treat her with respect.
π SEE ALSO π
namecoind(1), namecoin-cli(1), namecoin-tx(1), namecoin-wallet(1), namecoin-util(1), namecoin-qt(1) β the whole friend group, go say hi π
And that's the page!! namecoin-tx v28.0.0, dated October 2024, and it was a manual page titled NAMECOIN-TX(1) the entire time. Slay, stay hydrated, and always hex-encode responsibly ππ§
π¦ where this page comes from
- nixos 26.05: namecoind 28.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms