From ed8d66457d44794c851016873e91209add83dbd9 Mon Sep 17 00:00:00 2001 From: Mori Bellamy Date: Thu, 16 Nov 2023 17:37:05 -0800 Subject: [PATCH] Add license and readme --- LICENSE.md | 21 +++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 LICENSE.md create mode 100644 README.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..136493c --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Mori Bellamy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f4d2487 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Mousewallet + +An example implementation of generating an ethereum wallet in C99. + +``` +$ ./mousewallet --help +Usage: mousewallet [options] + +Create Ethereum wallets. + + -h, --help show this help message and exit + + Basic options + -p, --prefix= prefix to seek +``` + +If no args are given, generate a private key (along with the resulting eth address) to STDOUT. + +If the `--prefix` arg is given, we generate random wallets until we find one with the given prefix.