{"id":24374625,"url":"https://github.com/alejoacosta74/cryptonaut","last_synced_at":"2026-05-08T02:01:53.386Z","repository":{"id":272932925,"uuid":"917415319","full_name":"alejoacosta74/cryptonaut","owner":"alejoacosta74","description":"Your Swiss Army Knife for Blockchain and Cryptocurrency Operations","archived":false,"fork":false,"pushed_at":"2025-02-25T14:58:58.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T11:00:46.549Z","etag":null,"topics":["bitcoin","btcsuite","cosmos-sdk","ecdsa-cryptography","ethereum","go-ethereum","golang","schnorr-signatures"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejoacosta74.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-15T23:58:30.000Z","updated_at":"2025-02-25T14:59:02.000Z","dependencies_parsed_at":"2025-01-17T14:54:55.475Z","dependency_job_id":"3607ef7d-0669-4337-afe6-c28a0db0b32c","html_url":"https://github.com/alejoacosta74/cryptonaut","commit_stats":null,"previous_names":["alejoacosta74/cryptonaut"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alejoacosta74/cryptonaut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fcryptonaut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fcryptonaut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fcryptonaut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fcryptonaut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejoacosta74","download_url":"https://codeload.github.com/alejoacosta74/cryptonaut/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fcryptonaut/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32763518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"online","status_checked_at":"2026-05-08T02:00:05.879Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","btcsuite","cosmos-sdk","ecdsa-cryptography","ethereum","go-ethereum","golang","schnorr-signatures"],"created_at":"2025-01-19T05:40:56.154Z","updated_at":"2026-05-08T02:01:53.358Z","avatar_url":"https://github.com/alejoacosta74.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptonaut CLI 🚀\n\nYour Swiss Army Knife for Blockchain and Cryptocurrency Operations\n\n## Overview\n\nCryptonaut is a powerful command-line tool that provides a comprehensive suite of cryptocurrency and blockchain utilities. Whether you're working with Bitcoin, Ethereum, Cosmos, or exploring cryptographic operations, Cryptonaut has got you covered.\n\n## Features\n\n- 🔑 Key Management (Bitcoin \u0026 Ethereum)\n- 🔐 Multiple Signature Schemes (Schnorr, ECDSA*, BLS*)\n- 👛 HD Wallet Support (BIP44)\n- 📝 Transaction Management\n- 🔗 Blockchain Node Interaction*\n- ⚡ Zero-Knowledge Proofs\n- 🎯 Vanity Address Generation*\n- 🌳 Merkle Tree Operations*\n- ⛏️ PoW Simulation*\n\n(*) Coming soon\n\n## Installation\n\n```bash\ngo install github.com/yourusername/cryptonaut@latest\n```\n\n## Available Commands\n\n### Key and Address Management\n\n#### Cosmos\n\n- Generate a new private key:\n\n```bash\ncryptonaut cosmos generate \nCosmos private key: dc31eed917590637849c14a1c032372201b823e622b86491c913a2133ffb7a3b0d797b9c272a6a962b2d107e95c8347197bca8c87bdc50f081db934d56482bfb\n```\n\n- Get the public key from a private key:\n\n```bash\ncryptonaut cosmos pubkey --private-key dc31eed917590637849c14a1c032372201b823e622b86491c913a2133ffb7a3b0d797b9c272a6a962b2d107e95c8347197bca8c87bdc50f081db934d56482bfb\nCosmos public key: 0D797B9C272A6A962B2D107E95C8347197BCA8C87BDC50F081DB934D56482BFB\n```\n\n- Get the address from a private key:\n\n```bash\ncryptonaut cosmos address --private-key dc31eed917590637849c14a1c032372201b823e622b86491c913a2133ffb7a3b0d797b9c272a6a962b2d107e95c8347197bca8c87bdc50f081db934d56482bfb\nCosmos address: cosmos102qqme5y2unezjlg8xghzmas0jdyfdely479z\n```\n\n#### Bitcoin\n\n- Generate a new private key:\n\n```bash\ncryptonaut bitcoin generate \nPrivate key: 5887c2df0c75bc44dd1e33f3f45c08f39a0970a8fda69f1aa241831ee983dc71\n```\n\n- Get the public key from a private key:\n\n```bash\ncryptonaut bitcoin pubkey --private-key 5887c2df0c75bc44dd1e33f3f45c08f39a0970a8fda69f1aa241831ee983dc71\nPrivate key: 5887c2df0c75bc44dd1e33f3f45c08f39a0970a8fda69f1aa241831ee983dc71\nPublic key: 03709cea5a5fb840d2d5c85b76db27f5f5969693140ac5e9d904914fc891129b7f\n```\n\n- Get the address from a private key:\n\n```bash\ncryptonaut bitcoin address --private-key 5887c2df0c75bc44dd1e33f3f45c08f39a0970a8fda69f1aa241831ee983dc71\nAddress: 1P3Ykb3ZZnEMKAhb6NhW4Lex7h24qdfwuH\n```\n#### Ethereum\n\n- Generate a new private key:\n\n```bash\ncryptonaut ethereum generate\nPrivate Key: 45b4314b4f5964ed2b6030909da0fdd7bcf8e653dfef438233ea45b1b59f0d0f\n```\n\n- Get the public key from a private key\n\n```bash\ncryptonaut ethereum pubkey --private-key 45b4314b4f5964ed2b6030909da0fdd7bcf8e653dfef438233ea45b1b59f0d0f\nPublic Key: 907e5d2b3c5e4cdef69a8c547aa1280df55ed82903475ca10f035c1c4bd27bd2\n```\n\n- Get the address from a private key\n\n```bash\ncryptonaut ethereum address --private-key 45b4314b4f5964ed2b6030909da0fdd7bcf8e653dfef438233ea45b1b59f0d0f\nAddress: 0x6e91d895Cd7c010fbA616260FeCe1FC1d4AA4a85\n```\n\n### Managing keys and digital Signatures\n\n#### ECDSA signatures (P-256 i.e. curve secp256r1, equation y² = x³ - 3x + b)\n\n```bash\n# Generate a ECDSA private key\ncryptonaut ecdsa generate\nPrivate key: 3077020101042045471f8f388f79438402107d6904db836f81445a840464561b6eab9918b1646ca00a06082a8648ce3d030107a144034200040f343af9c39b929a542866089cac57d167f85900ea5b891b4aeb5a6dc624c35170053107601dc60409c9e24b7ecc2e0624cf069ec2e94c791b07123abf07e1f1\n\n# Generate a ECDSA public key from a private key\ncryptonaut ecdsa pubkey --private-key 3077020101042045471f8f388f79438402107d6904db836f81445a840464561b6eab9918b1646ca00a06082a8648ce3d030107a144034200040f343af9c39b929a542866089cac57d167f85900ea5b891b4aeb5a6dc624c35170053107601dc60409c9e24b7ecc2e0624cf069ec2e94c791b07123abf07e1f1\nPublic key: 040f343af9c39b929a542866089cac57d167f85900ea5b891b4aeb5a6dc624c35170053107601dc60409c9e24b7ecc2e0624cf069ec2e94c791b07123abf07e1f1\n\n# Sign a message\ncryptonaut ecdsa sign \"hello world\" --private-key 3077020101042045471f8f388f79438402107d6904db836f81445a840464561b6eab9918b1646ca00a06082a8648ce3d030107a144034200040f343af9c39b929a542866089cac57d167f85900ea5b891b4aeb5a6dc624c35170053107601dc60409c9e24b7ecc2e0624cf069ec2e94c791b07123abf07e1f1\n\nSignature: \nr=18f137a519e7c505bdf8aefbbe67045b5138c1f123e79c4578df719acb59ea63\ns=d0caa13a4e35c9fee6a471f0b830e30d236b6799760fe99dbb0666a125554b10\n\n# Verify a signature\ncryptonaut ecdsa verify \"hello world\" --r=18f137a519e7c505bdf8aefbbe67045b5138c1f123e79c4578df719acb59ea63 --s=d0caa13a4e35c9fee6a471f0b830e30d236b6799760fe99dbb0666a125554b10 --public-key 040f343af9c39b929a542866089cac57d167f85900ea5b891b4aeb5a6dc624c35170053107601dc60409c9e24b7ecc2e0624cf069ec2e94c791b07123abf07e1f1\nSignature is valid: true\n```\n\n#### Schnorr signatures (secp256k1)\n  \n```bash\n# Generate a private key\ncryptonaut schnorr generate\nPrivate key: c201901e446e3707a6bd3f4c1de85939aee1fd68fc2926690a33d4fc88063d78\n\n# Get the public key from a private key\ncryptonaut schnorr pubkey --private-key c201901e446e3707a6bd3f4c1de85939aee1fd68fc2926690a33d4fc88063d78\nPublic key: 03df7d7f349f4f63e79c3aea2227c2b96ef5a9aa51960a7962a3e0d95571fcc84a\n\n# Get the public key from a private key in un compressed format\ncryptonaut schnorr pubkey --private-key c201901e446e3707a6bd3f4c1de85939aee1fd68fc2926690a33d4fc88063d78 --compressed=false\nPublic key: 04df7d7f349f4f63e79c3aea2227c2b96ef5a9aa51960a7962a3e0d95571fcc84a4d2e21eb89130a9c96952d191505620351a369cb47462e3d7e09e79fa49d07d7\n\n# Sign a message\ncryptonaut schnorr sign \"hello world\" --private-key '479408efb759a4fcf8f482a45ecc8e6185fbe24ff4ee5deca8d390e4bcddd947' \nSignature: 047894e7ca77a4f5597136ac015396ae6098a258c3f918630acd06b0e444485e6630d7179f43f289e4ad5f05f6f424ab15c99b4d11f33c4ab38a664ddef4825a\n\n# Verify a signature\ncryptonaut schnorr verify \"hello world\" --public-key 03d43aa64ab048f935da807d95f8efc7e8f3425c3b4da8f7cffc2721b14a1dd666 --signature 047894e7ca77a4f5597136ac015396ae6098a258c3f918630acd06b0e444485e6630d7179f43f289e4ad5f05f6f424ab15c99b4d11f33c4ab38a664ddef4825a \nSignature is valid:  true\n```\n\n#### BLS signatures (BLS12-381)\n\n```bash\n# Generate a private key\ncryptonaut bls generate\nPrivate key: 40b04d19c23c45469e8b875a7c7cc00368b41555470854a403e0ea059135d7e9 \n\n# Get the public key from the BLS private key\ncryptonaut bls pubkey --private-key 40b04d19c23c45469e8b875a7c7cc00368b41555470854a403e0ea059135d7e9\nPublic key: b0b90706e41978b0d5400b51306b1e54c78e4d8b569baeb4939159635a9576d8d413caec63bfd664f256df3b77dab69f\n\n# Sign a message\ncryptonaut bls sign \"hello world\" --private-key 40b04d19c23c45469e8b875a7c7cc00368b41555470854a403e0ea059135d7e9\nSignature: b88c8beef218a88179dd6bfda698d934cd011326265eefa106547ce4fd8d310d4b4175c7d14ac513b6d88dcdd95ebeb017785d3b45d5eeff0304074d2642760b2dc7743f4aee381b9db089f96e2232da2004605ecbfd2e62e786a7e2d196b093\n\n# Verify a signature\ncryptonaut bls verify \"hello world\" --public-key b0b90706e41978b0d5400b51306b1e54c78e4d8b569baeb4939159635a9576d8d413caec63bfd664f256df3b77dab69f --signature b88c8beef218a88179dd6bfda698d934cd011326265eefa106547ce4fd8d310d4b4175c7d14ac513b6d88dcdd95ebeb017785d3b45d5eeff0304074d2642760b2dc7743f4aee381b9db089f96e2232da2004605ecbfd2e62e786a7e2d196b093\nSignature is valid: true\n```\n\n### HD Wallet Operations\n\n#### Generate mnemonic:\n```bash\ncryptonaut hd mnemonic\nMnemonic: genius unique bicycle wood bullet cross economy move bulb canvas nurse extend flight urge account island please people angry length snap foil brick congress\n```\n\n#### Derive keys:\n```bash\n# For Bitcoin\ncryptonaut hd bitcoin --mnemonic 'legend rude glance must update smooth fever alone clarify stool harbor dutch swarm casual brisk odor capital good strong ensure wreck hybrid chalk ketchup' --index 0            \nPrivate Key: f5b58ecb663dcc8e648876d335804dfe7de8542467746a35b64d9aa7ab260b41\nPublic Key: 03f93a8a9f7934eb5f60e3dee14d97aefa37d20b51df387f0faf7069be490d1bd1\nAddress: 1MjFFWJC6L3qzXhDQgNmttad77Qcn8mVyb\n\n# For Ethereum\ncryptonaut hd ethereum --mnemonic 'legend rude glance must update smooth fever alone clarify stool harbor dutch swarm casual brisk odor capital good strong ensure wreck hybrid chalk ketchup' --index 0\nAddress: 0x6099f0f046D843d6AD6a7daeC35c55b1D92A8cC8\n```\n\n### Transaction Management\n\n#### Decode raw transactions:\n\n- Ethereum\n  \n```json\ncryptonaut ethereum tx decode f86b01843b9aca00825208941234567890123456789012345678901234567890880de0b6b3a76400008025a0b40bc16dbe93b2fd8698af2cbb2cd10ae64e15a1922d842153cf09fc1f26033da0429b5caf480e7840843f9451bd8f5cbb14f6cebb081dabfe6663c88dbfa56f8b\n\n{\n    \"hash\": \"0xc7b6e5e7a83c44651cc0a4ceb33eaeafbb84c7b9f25690443ed3d669a29e0a72\",\n    \"nonce\": 1,\n    \"gasPrice\": \"1000000000\",\n    \"gas\": 21000,\n    \"to\": \"0x1234567890123456789012345678901234567890\",\n    \"value\": \"1000000000000000000\",\n    \"data\": \"\",\n    \"chainId\": \"1\",\n    \"type\": 0\n}\n```\n- Bitcoin\n\n```json\ncryptonaut bitcoin tx decode 010000000134129078563412907856341290785634129078563412907856341290785634120000000000ffffffff0100e1f505000000001976a914bade2cc53d518a756148ca179894efba4089a44888ac00000000\n{\n    \"hash\": \"a378a99a0a32f789cea579179db4fe697375baa0436adcc053724a07bb254f4e\",\n    \"version\": 1,\n    \"locktime\": 0,\n    \"size\": 85,\n    \"inputs\": [\n        {\n            \"txid\": \"1234567890123456789012345678901234567890123456789012345678901234\",\n            \"vout\": 0,\n            \"scriptSig\": \"\",\n            \"sequence\": 4294967295\n        }\n    ],\n    \"outputs\": [\n        {\n            \"value\": 100000000,\n            \"scriptPubKey\": \"76a914bade2cc53d518a756148ca179894efba4089a44888ac\"\n        }\n    ]\n}\n```\n\n### Subscription\n\nSubscribe to mempool transactions:\n\n- Ethereum\n\n```bash\ncryptonaut ethereum tx mempool --to-address 0x0000000000000000000000000000000000000000 --ws-url wss://mainnet.infura.io/ws/v3/YOUR_PROJECT_ID\n```\n\n### Zero-Knowledge Proofs\n\nCryptonaut supports zero-knowledge proofs using the Groth16 proving system. Currently implemented circuits:\n\n#### Age Verification Circuit\n\nProve that you're above a certain age (default 18) without revealing your birth year:\n\n```bash\n# Generate a proof that you're over 18 (using birth year 1990)\ncryptonaut zk snark prove --circuit age --birth-year 1990\nINFO[0000] ✅ Proof successfully generated and saved in file proof.data, and verification key in file vk.data\n\n# Verify the proof\ncryptonaut zk snark verify --circuit age\nINFO[0000] 🔍 Verifying proof from file proof.data using verification key from file vk.data \nINFO[0000] ✅ Proof verification result: true\n```\n\nThe age verification circuit:\n- Allows proving you're over 18 without revealing your actual birth year\n- Uses the Groth16 proving system on the BN254 curve\n- Generates both a proof and a verification key\n- Supports verification by any third party using the verification key\n\n## Roadmap 🗺️\n\n### Coming Soon\n- [ ] Ethereum node interaction (balance checks, transaction broadcasting)\n- [ ] Bitcoin node interaction (balance checks, transaction broadcasting)\n- [ ] Vanity address generation\n- [ ] Smart contract deployment and interaction\n- [ ] ERC-20 and ERC-721 token operations\n- [ ] Proof-of-Work simulation\n- [ ] Secure storage for crypto artifacts\n\n### Planned Features\n- [ ] Support for additional blockchain networks\n- [ ] Advanced transaction building features\n- [ ] Multi-signature wallet support\n- [ ] Support for additional signature schemes\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejoacosta74%2Fcryptonaut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejoacosta74%2Fcryptonaut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejoacosta74%2Fcryptonaut/lists"}