{"id":15061472,"url":"https://github.com/coderomm/cryptokosh","last_synced_at":"2025-07-17T08:33:26.177Z","repository":{"id":255684950,"uuid":"853395178","full_name":"coderomm/CryptoKosh","owner":"coderomm","description":"CryptoKosh – A Web3 Cryptocurrency Wallet Project!","archived":false,"fork":false,"pushed_at":"2024-09-26T13:08:25.000Z","size":18862,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T08:12:06.831Z","etag":null,"topics":["blockchain","cryptocurrency","ethereum","reactjs","solana","tailwindcss","typescript","web3"],"latest_commit_sha":null,"homepage":"https://crypto-kosh.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-09-06T15:12:16.000Z","updated_at":"2024-12-02T13:06:44.000Z","dependencies_parsed_at":"2024-09-13T02:48:02.449Z","dependency_job_id":"f1700369-6136-4caf-b478-0a5e5187d4d2","html_url":"https://github.com/coderomm/CryptoKosh","commit_stats":null,"previous_names":["coderomm/cryptokosh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderomm%2FCryptoKosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderomm%2FCryptoKosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderomm%2FCryptoKosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderomm%2FCryptoKosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderomm","download_url":"https://codeload.github.com/coderomm/CryptoKosh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190453,"owners_count":21062279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blockchain","cryptocurrency","ethereum","reactjs","solana","tailwindcss","typescript","web3"],"created_at":"2024-09-24T23:19:54.357Z","updated_at":"2025-04-10T08:58:41.852Z","avatar_url":"https://github.com/coderomm.png","language":"TypeScript","readme":"# CryptoKosh\n\n**CryptoKosh** (referring to a \"vault\" in Hindi) is a React functional component designed to generate and manage cryptocurrency wallets. It supports both the generation of new wallets and the entry of existing recovery phrases. It displays generated private and public keys, provides functionality to copy them to the clipboard, and includes features for showing or hiding sensitive information.\n\n### Features\n\n- **Generate Wallet**: Create a new wallet and view generated private and public keys.\n- **Import Wallet**: Optionally enter an existing recovery phrase to generate keys.\n- **Toggle Visibility**: Show or hide private keys and recovery phrases to enhance security.\n- **Copy to Clipboard**: Easily copy private keys, public keys, and the recovery phrase.\n\n### Installation\n\nEnsure you have Node.js and npm installed on your machine.\n\n1. Clone the repository or add the component to your existing React project.\n2. Install the required dependencies:\n\n    ```bash\n    npm install tweetnacl bip39 ed25519-hd-key @solana/web3.js sonner lucide-react\n    ```\n\n3. Import and use the `WalletGenerator` component in your project.\n\n### State Management\n\n- `mnemonicWords`: Stores the words of the recovery phrase, initialized from `localStorage` if previously saved.\n\n    ```tsx\n    const [mnemonicWords, setMnemonicWords] = useState\u003cstring[]\u003e(() =\u003e {\n      const savedMnemonic = localStorage.getItem('mnemonicWords');\n      return savedMnemonic ? JSON.parse(savedMnemonic) : [];\n    });\n    ```\n\n- `mnemonicWordsInput`: Manages the input for the mnemonic recovery phrase.\n\n    ```tsx\n    const [mnemonicWordsInput, setMnemonicWordsInput] = useState\u003cstring\u003e(() =\u003e localStorage.getItem('mnemonicWordsInput') || '');\n    ```\n\n- `wallets`: Stores generated wallets, initialized from `localStorage` if previously saved.\n\n    ```tsx\n    const [wallets, setWallets] = useState\u003cWallet[]\u003e(() =\u003e {\n      const savedWallets = localStorage.getItem('wallets');\n      return savedWallets ? JSON.parse(savedWallets) : [];\n    });\n    ```\n\n- `blockchain`: Stores the selected blockchain for wallet generation.\n\n    ```tsx\n    const [blockchain, setBlockchain] = useState\u003cstring\u003e(() =\u003e localStorage.getItem('blockchain') || '');\n    ```\n\n- `isCopied`: Tracks whether the key information has been copied to the clipboard.\n\n    ```tsx\n    const [isCopied, setIsCopied] = useState(false);\n    ```\n\n- `showPrivateKey`: Toggles the visibility of private keys for security purposes.\n\n    ```tsx\n    const [showPrivateKey, setShowPrivateKey] = useState(false);\n    ```\n\n### How It Works\n\n- **Generating a Wallet**: Generates a new mnemonic phrase and derives the corresponding seed. The seed is used to generate private and public keys, which are then displayed along with the mnemonic.\n- **Importing a Wallet**: Enter an existing recovery phrase to derive the corresponding private and public keys.\n- **Visibility Toggle**: Private keys and recovery phrases can be toggled between visible and censored (asterisks) for enhanced security.\n- **Clipboard Copy**: Easily copy private keys, public keys, and the recovery phrase to the clipboard.\n\n### Contributing\n\nFeel free to submit issues or pull requests. Contributions are always welcome!\n\n### License\n\nThis project is licensed under the MIT License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderomm%2Fcryptokosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderomm%2Fcryptokosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderomm%2Fcryptokosh/lists"}