Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RealCocoArdo committed May 4, 2023
1 parent 5cb1819 commit eeb3b77
Show file tree
Hide file tree
Showing 14 changed files with 2,318 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Libraries/get-pip.py
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Coco_Ardo

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.
55 changes: 55 additions & 0 deletions Libraries/EntropyGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
## Notation of the diffrent states
<details>
<summary>see more</summary>

- E = Empty
- bK = black king
- wK = white king
- bQ = black queen
- wQ = white queen
- bP = black pawn
- wP = white pawn
- bR = black rook
- wR = white rook
- bN = black knight
- wN = white knight
- bB = black bishop
- wB = white bishop
</details>

## Example

<img src="../pictures/Chessboard.PNG" width="30%" align="right">
This is how the standard setup of a chess game would translate:<br><br>

Line 8: | bR | bN | bB | bQ | bK | bB | bK | bR |
--------|----|----|----|----|----|----|----|----|
Line 7: | bP | bP | bP | bP | bP | bP | bP | bP |
Line 6: | E | E | E | E | E | E | E | E |
Line 5: | E | E | E | E | E | E | E | E |
Line 4: | E | E | E | E | E | E | E | E |
Line 3: | E | E | E | E | E | E | E | E |
Line 2: | wP | wP | wP | wP | wP | wP | wP | wP |
Line 1: | wR | wN | wB | wQ | wK | wB | wK | wR |

Turning that into a single string the result would look like this:

`8.bR,bN,bB,bQ,bK,bB,bN,bR,7.bP,bP,bP,bP,bP,bP,bP,bP,6.E,E,E,E,E,E,E,E,5.E,E,E,E,E,E,E,E,4.E,E,E,E,E,E,E,E,3.E,E,E,E,E,E,E,E,2.wP,wP,wP,wP,wP,wP,wP,wP,1.wR,wN,wB,wQ,wK,wB,wN,wR`
<br>

- There are no free spaces inbetween, just a comma ,
- After every line-number is a dot .

This string is your chessboard setup.

## Advices
<details>
<summary>see more</summary>

1. Extenting your chessboard setup with custom text/numbers(anything) is highly recommended to increase your entropy.
- To provide some instructions, which make it less unlikley you mess up a recovery, please enter your extention as follows:
- YourBoard+YourExtention
- Use the `+` for inbetween and don't have any empty space in your extention.
2. Don't use the default chessboard setup or common chess-openings as your entropy. Its very likley they get brute forced.
3. You are not limited to the rules of chess. Have 20 Kings on the board. Or style your board in any way you like it to.
</details>
6 changes: 6 additions & 0 deletions Libraries/install-libraries-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo apt install curl
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install bitcoin
pip install pillow
pip freeze
5 changes: 5 additions & 0 deletions Libraries/install-libraries-windows.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install bitcoin
pip install pillow
pip freeze
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Chess Wallet

<p align="center"><img src="pictures/Banner.PNG"></img><br><a href="https://opensource.org/licenses/MIT" title="License: MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></img></a></p>
A brain wallet that is rememberable.

Instead of remembering 24 words in a right order you have instead to remember the setup of a chessboard.
This setup will be the entropy to your 24 words/ to your bitcoins.

## Quality of entropy
A chessboard has 8 by 8 squares. Which equals 64 squares in totall.
There are 13 diffrent states(pieces being on them) one square can be in, including empty.
So there are 64^13 possible combinations.

This [entropy guide](Libraries/EntropyGuide.md) instructs you on what to input. <br>However the Chess-Wallet can be used to input any entropy.

## Disclaimer!
<details>
<summary>see more</summary>

- This was only designed for Bitcoin. No other shitcoin.<br>
- I take no responsibility of my code. If you lose your Bitcoins its your fault.<br>
- You can review the code yourself before using it.<br>
</details>

## Requirements
<details>
<summary>see more</summary>

1. Install the latest version of Python3 [here](https://python.org/downloads/).
- Check add to PATH in the installation
2. [Download](https://github.com/RealCocoArdo/Chess-Wallet/archive/refs/heads/main.zip) this repository and unzip it. Or clone it.

</details>

## Start the program
<details>
<summary>see more</summary>

1. Navigate to the Chess-Wallet folder and open it
2. Open in the folder Libraries the `install-libraries-windows` or bash the `install-libraries-linux` file to dowload the libraries. You only need to do this once.
3. Disconnect your Wifi
4. Open the `start-on-windows` or bash the `start-on-linux` file to start the program.
</details>
33 changes: 33 additions & 0 deletions Wallets/Example Wallet.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Chess-Wallet - Bitcoin Wallet Backup


Your chessboard setup/ your entropy was:

8.bR,bN,bB,bQ,bK,bB,bN,bR,7.bP,bP,bP,bP,bP,bP,bP,bP,6.E,E,E,E,E,E,E,E,5.E,E,E,E,E,E,E,E,4.E,E,E,E,E,E,E,E,3.E,E,E,E,E,E,E,E,2.wP,wP,wP,wP,wP,wP,wP,wP,1.wR,wN,wB,wQ,wK,wB,wN,wR

Your nnemonic words are:

price
crystal
motor
amazing
subway
leader
involve
crumble
typical
apple
jelly
captain
decrease
gentle
fan
rose
thrive
add
exclude
adjust
divide
similar
loud
harvest
Loading

0 comments on commit eeb3b77

Please sign in to comment.