Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/demining/bitcoinz-google-colab
BitcoinZ Google Colab
https://github.com/demining/bitcoinz-google-colab
bitcoin bitcoin-api bitcoin-core bitcoin-payment bitcoin-transaction bitcoin-wallet colab colab-notebook colab-notebooks colab-tutorial colaboratory google-colab google-colab-gpu google-colab-notebook google-colab-notebooks google-colab-tutorial google-colaboratory google-colaboratory-notebooks
Last synced: 4 days ago
JSON representation
BitcoinZ Google Colab
- Host: GitHub
- URL: https://github.com/demining/bitcoinz-google-colab
- Owner: demining
- License: other
- Created: 2022-02-18T09:35:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-02T01:04:08.000Z (over 2 years ago)
- Last Synced: 2024-11-15T04:07:28.840Z (4 days ago)
- Topics: bitcoin, bitcoin-api, bitcoin-core, bitcoin-payment, bitcoin-transaction, bitcoin-wallet, colab, colab-notebook, colab-notebooks, colab-tutorial, colaboratory, google-colab, google-colab-gpu, google-colab-notebook, google-colab-notebooks, google-colab-tutorial, google-colaboratory, google-colaboratory-notebooks
- Language: C++
- Homepage:
- Size: 50.3 MB
- Stars: 0
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Code of conduct: code_of_conduct.md
Awesome Lists containing this project
README
-------------------------
### Run bitcoinz-Google-Colabhttps://colab.research.google.com/drive/1OShIMVcFZ_khsUIBOIV1lzrqAGo1gfm_?usp=sharing
-------------------------
**Keep running wallet to strengthen the BitcoinZ network. Backup your wallet in many locations & keep your coins wallet offline.**
### Ports:
- RPC port: 1979
- P2P port: 1989Install
-----------------
### Linux### [Quick guide for beginners](https://github.com/btcz/bitcoinz/wiki/Quick-guide-for-beginners)
Install required dependencies:
```{r, engine='bash'}
sudo apt-get install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python \
zlib1g-dev wget bsdmainutils automake
```Execute the build command:
```{r, engine='bash'}
# Clone Bitcoinz Repository
git clone https://github.com/btcz/bitcoinz
# Build
cd bitcoinz/
./zcutil/build.sh -j$(nproc)
# fetch key
./zcutil/fetch-params.sh
```Usage:
```{r, engine='bash'}
# Run
./src/bitcoinzd
# Test getting information about the network
cd src/
./bitcoinz-cli getmininginfo
# Test creating new transparent address
./bitcoinz-cli getnewaddress
# Test creating new private address
./bitcoinz-cli z_getnewaddress
# Test checking transparent balance
./bitcoinz-cli getbalance
# Test checking total balance
./bitcoinz-cli z_gettotalbalance
# Check all available wallet commands
./bitcoinz-cli help
# Get more info about a single wallet command
./bitcoinz-cli help "The-command-you-want-to-learn-more-about"
./bitcoinz-cli help "getbalance"
```### Windows
The BitcoinZ Windows Command Line Wallet can only be built from ubuntu for now.Install required dependencies:
```
apt-get update \
&& apt-get install -y \
curl build-essential pkg-config libc6-dev m4 g++-multilib autoconf \
libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils \
automake p7zip-full pwgen mingw-w64 cmake
```Execute the build command:
```
./zcutil/build-win.sh -j$(nproc)
```### Docker
Build
```
$ docker build -t btcz/bitcoinz .
```Create a data directory on your local drive and create a bitcoinz.conf config file
```
$ mkdir -p /ops/volumes/bitcoinz/data
$ touch /ops/volumes/bitcoinz/data/bitcoinz.conf
$ chown -R 999:999 /ops/volumes/bitcoinz/data
```Create bitcoinz.conf config file and run the application
```
$ docker run -d --name bitcoinz-node \
-v bitcoinz.conf:/bitcoinz/data/bitcoinz.conf \
-p 1989:1989 -p 127.0.0.1:1979:1979 \
btcz/bitcoinz
```Verify bitcoinz-node is running
```
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
31868a91456d btcz/bitcoinz "bitcoinzd --datadir=..." 2 hours ago Up 2 hours 127.0.0.1:1979->1979/tcp, 0.0.0.0:1989->1989/tcp bitcoinz-node
```Follow the logs
```
docker logs -f bitcoinz-node
```The cli command is a wrapper to bitcoinz-cli that works with an already running Docker container
```
docker exec -it bitcoinz-node cli help
```## Using a Dockerfile
If you'd like to have a production btc/bitcoinz image with a pre-baked configuration
file, use of a Dockerfile is recommended:```
FROM btcz/bitcoinz
COPY bitcoinz.conf /bitcoinz/data/bitcoinz.conf
```Then, build with `docker build -t my-bitcoinz .` and run.
Security Warnings
-----------------**BitcoinZ is experimental and a work-in-progress.** Use at your own risk.
----
| | Donation Address |
| --- | --- |
| ♥ __BTC__ | 1Lw2kh9WzCActXSGHxyypGLkqQZfxDpw8v |
| ♥ __ETH__ | 0xaBd66CF90898517573f19184b3297d651f7b90bf |