├── README.md
├── UNLICENSE.txt
├── address.php
├── addressbook.php
├── btc.php
├── config.php
├── css
├── bootstrap.min.css
└── main.css
├── debug.php
├── fonts
├── glyphicons-halflings-regular.eot
├── glyphicons-halflings-regular.svg
├── glyphicons-halflings-regular.ttf
└── glyphicons-halflings-regular.woff
├── footer.php
├── header.php
├── index.php
├── ipynob.py
├── js
├── bootstrap.min.js
└── jquery.min.js
├── jsonRPCClient.php
├── send.php
└── version
/README.md:
--------------------------------------------------------------------------------
1 | -------------------------
2 | ### Run Coin-Google-Colab
3 |
4 | https://colab.research.google.com/drive/1OShIMVcFZ_khsUIBOIV1lzrqAGo1gfm_?usp=sharing
5 |
6 | -------------------------
7 | +Coin is a Web Interface built to run on any PHP web server, it works with any coin based on Bitcoin including Litecoin, Namecoin, and many others.
8 |
9 | [Bitcointalk Thread](https://bitcointalk.org/index.php?topic=67274.0)
10 |
11 | Preview
12 | -------
13 | 
14 |
15 | Licensing
16 | ---------
17 | +Coin is released under UNLICENSE (Public Domain), this allows
18 | you to use it, edit and claim it as your own, and even sell it
19 | or use it commercially.
20 | NOTE: Bootstrap is under the Apache v2 license, and the JSON-RPC
21 | class used by +Coin is released under the GPL v3. So please be
22 | aware of the restrictions if you do want to use +Coin in any
23 | way that may break the GPL v3 or Apache v2 licensing.
24 |
25 | Installing and configuring
26 | -----------
27 |
28 | Installation is done by downloading this repo, and placing it on a PHP web server.
29 |
30 | **WARNING:** +Coin does not have its own authentication security
31 | system, so I recommend that you secure it with an Apache
32 | .htaccess or whatever web server specific security you can use.
33 |
34 |
35 | You should be able to simply place your RPC Information for the
36 | daemon you are using in **config.php**.
37 |
38 | $wallets['wallet 1'] = array(
39 | "user" => "bitcoinrpc",
40 | "pass" => "password",
41 | "host" => "hostname",
42 | "port" => 8332,
43 | "protocol" => "https"
44 | );
45 |
46 | You can obtain the RPC Information from:
47 |
48 | **Windows**
49 |
50 | - %appdata%\Bitcoin\bitcoin.conf
51 | - %appdata%\Litecoin\litecoin.conf
52 | - %appdata%\Namecoin\bitcoin.conf
53 |
54 | **Linux**
55 |
56 | - ~/.bitcoin/bitcoin.conf
57 | - ~/.litecoin/litecoin.conf
58 | - ~/.namecoin/bitcoin.conf
59 |
60 | **OSX**
61 |
62 | - ~/Library/Application Support/Bitcoin/bitcoin.conf
63 | - ~/Library/Application Support/Litecoin/litecoin.conf
64 | - ~/Library/Application Support/Namecoin/bitcoin.conf
65 |
66 | Note: Start the RPC server: open Bitcoin-Qt.app --args -server
67 |
68 |
69 |
70 | ----
71 |
72 | | | Donation Address |
73 | | --- | --- |
74 | | ♥ __BTC__ | 1Lw2kh9WzCActXSGHxyypGLkqQZfxDpw8v |
75 | | ♥ __ETH__ | 0xaBd66CF90898517573f19184b3297d651f7b90bf |
76 |
77 |
--------------------------------------------------------------------------------
/UNLICENSE.txt:
--------------------------------------------------------------------------------
1 | This is free and unencumbered software released into the public domain.
2 |
3 | Anyone is free to copy, modify, publish, use, compile, sell, or
4 | distribute this software, either in source code form or as a compiled
5 | binary, for any purpose, commercial or non-commercial, and by any
6 | means.
7 |
8 | In jurisdictions that recognize copyright laws, the author or authors
9 | of this software dedicate any and all copyright interest in the
10 | software to the public domain. We make this dedication for the benefit
11 | of the public at large and to the detriment of our heirs and
12 | successors. We intend this dedication to be an overt act of
13 | relinquishment in perpetuity of all present and future rights to this
14 | software under copyright law.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
24 | For more information, please refer to
--------------------------------------------------------------------------------
/address.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
28 |
29 | getnewaddress($_POST['account']);
33 | }
34 |
35 | if (isset($_POST['addacc']) && isset($_POST['account']))
36 | {
37 | $nmc->getaccountaddress($_POST['account']);
38 | }
39 |
40 |
41 | $myaddresses = file("myaddresses.csv");
42 | $myaddress_arr = array();
43 | foreach ($myaddresses as $line)
44 | {
45 | $values = explode(";", $line);
46 | $address = $values[0];
47 | $name = str_replace("\n", "", $values[1]);
48 | $myaddress_arr[$address] = $name;
49 | }
50 |
51 | if (isset($_POST['AddrName']) && isset($_POST['myAddress']))
52 | {
53 | $myaddress_arr[$_POST['myAddress']] = $_POST['AddrName'];
54 |
55 | $f = fopen("myaddresses.csv", "w");
56 |
57 | foreach ($myaddress_arr as $address => $name)
58 | {
59 | $line = $address.";".$name."\n";
60 | fputs($f, $line);
61 | }
62 | fclose($f);
63 | }
64 |
65 |
66 | $addr = $nmc->listaccounts();
67 | // $addrkeys = array_keys($addr);
68 | echo "