Skip to content

β„™π•ͺ𝔹𝕃𝕆ℂ𝕂 π•šπ•₯𝕀 𝕒 π”Ήπ•šπ•₯π•”π• π•šπ•Ÿ 𝔻𝕒𝕀𝕙𝕓𝕠𝕒𝕣𝕕 π•¨π•šπ•₯𝕙 β„‚π•ͺπ•‘π•™π•–π•£π•‘π•¦π•Ÿπ•œ 𝕒𝕖𝕀π•₯𝕙𝕖π•₯π•šπ•”.

License

Notifications You must be signed in to change notification settings

curly60e/pyblock

Repository files navigation

----------------------
CPU Usage: X% 
Memory Usage: X% 
----------------------

Local: PyBLOCK
Node:  XxXxXxX
Block: XxXxXxX
Version: X.x.X

A. PyBLOCK
B. Bitcoin Core
L. Lightning Network
P. Platforms
S. Settings
X. Donate
Q. Exit

Select option:     














PyBLOCK

β„™π•ͺ𝔹𝕃𝕆ℂ𝕂 π•šπ•₯𝕀 𝕒 π”Ήπ•šπ•₯π•”π• π•šπ•Ÿ 𝔻𝕒𝕀𝕙𝕓𝕠𝕒𝕣𝕕 π•¨π•šπ•₯𝕙 β„‚π•ͺπ•‘π•™π•–π•£π•‘π•¦π•Ÿπ•œ 𝕒𝕖𝕀π•₯𝕙𝕖π•₯π•šπ•”.

  • This will fully work on a Node that has Bitcoin Core and LND installed.
  • We fully tested and worked perfect on MyNodeBTC
  • We fully tested and worked perfect on RaspiBlitz
  • We fully tested and worked perfect on BitcoinMachines
  • We fully tested and worked perfect on Umbrel

First Start

  • You will need to find the path of the files tls.cert and admin.macaroon to do the REST connection to have access to LND.

  • Poetry is needed to ensure every user has the same python dependencies installed.

    From LOCAL Node

    Open the Terminal.

    -- Easy mode:

    • a@A:~> sudo apt install hexyl
    • a@A:~> sudo apt install jq
    • a@A:~> pip3 install pybitblock
    • a@A:~> pyblock

    -- Manual mode:

    -- Poetry mode:

    • a@A:~> sudo apt install hexyl
    • a@A:~> sudo apt install jq
    • a@A:~> pip3 install poetry
    • a@A:~> git clone https://github.com/curly60e/pyblock.git
    • a@A:~> cd pyblock
    • a@A:~> poetry install
    • a@A:~> cd pybitblock
    • a@A:~> poetry run python3 PyBlock.py

    -- Upgrade:

    • a@A:~> pip3 install pybitblock -U
    • a@A:~> pyblock
    • Or
    • a@A:~> cd pyblock
    • a@A:~> git pull origin master
    • a@A:~> cd pybitblock
    • a@A:~> python3 PyBlock.py

    • This is how we continue.


    • It will ask you for the IP:PORT (REST PORT) in this case use: localhost instead of the IP.


    • Then it will ask you for the path to the tls.cert.


    • Then it will ask you for the path to the admin.macaroon.


    • Then it will ask you for the path to bitcoin-cli or if you have already installed just put: bitcoin-cli.


    • And you are in.


    From REMOTE Computer

    • You will need to have tls.cert and admin.macaroon already downloaded from your LND node.
    • Poetry is needed to ensure every user has the same python dependencies installed.

    Open the Terminal.

    -- Easy mode:

    • a@A:~> sudo apt install hexyl
    • a@A:~> sudo apt install jq
    • a@A:~> pip3 install pybitblock
    • a@A:~> pyblock

    -- Manual mode:

    -- Poetry mode:

    • a@A:~> sudo apt install hexyl

    • a@A:~> sudo apt install jq

    • a@A:~> pip3 install poetry

    • a@A:~> git clone https://github.com/curly60e/pyblock.git

    • a@A:~> cd pyblock

    • a@A:~> poetry install

    • a@A:~> cd pybitblock

    • a@A:~> poetry run python3 PyBlock.py


      • This is how we continue.


      • It will ask you for the IP:PORT (REST PORT).


      • Then it will ask you for the path to the tls.cert.


      • Then it will ask you for the path to the admin.macaroon.


      • Then it will ask you for the path to bitcoin-cli or if you have already installed just put: bitcoin-cli.


      • And you are in.


Dependencies

  • Install Curl on Debian based type:
    • sudo apt install curl

How to execute

  • python3 PyBlock.py

Running PyBLOCK using Docker

First check out or unzip the code to a directory, cd to that directory, and from there type the following commands: (Make sure Docker desktop is running in the background "sudo service docker start".)

  • docker build -t pyblock .

Run it using

  • docker run -p 6969:6969 -it pyblock

Then open http://localhost:6969 with a browser, you will get the PyBLOCK Docker App.

Credentials: "Running:PyBLOCK" ("User:Pass")

Created by

@Curly60e. ⚑️ [email protected]

npub1a78zk8cnczxjudg888f9t3va29vxhevvhdkdqvwe7zk70qx488zsc8573s

Pentester and contribution by

@SN. ⚑️ [email protected]

npub1h0mlskkqsyct98tldn744wa5j783h8du779c7zdjay29uyzwev4qxx9sjn

Contributor

@Danvergara.

Tools by

@SamouraiDev, @Korynewton, @Tippin_Me, @TallyCoinApp, @DJBooth007, @MemPool, @CoinGecko, @Igor_Chubin, @Shesek, @LNBits, @LNPAYco, @OpenNodeCo, @BlockStream, @Gwidion, @AlphaaZeta, @Hampus_S, @Mutatrum, @RoboHash, @C_Otto83, @BashCo_, @JamesOb, @BenTheCarman, @Whale_Alert, @BitcoinExplorer, @JanoSide, @LNstats, @Slush_Pool, @Braiins_Systems, @CKPoolDev, @KanoBTC, @JohnCantrell97, @JoostJgr, @PRguitarman, @NyanCat, @Mononautical, @Janna3257, @Cercatrova_21, @ChaumDotCom, @CashuBTC, @CalleBTC, @0xB10C, @BitRawr, @Vishalxl, @Odudex, @UTXOracle, @Acinq, @PhoenixWallet, @ForemanMining, @@Ocean_Mining, @LuxorTechnology, @PyPi, ...


PyBLØCK SOLO MINING POOL

Are you a Bitcoin Miner?

stratum+tcp://pool.pyblock.xyz:3333

Note that if you do not find a Block, you get no reward at all with Solo Mining.

0.4 % goes to PyBLØCK to operate the Pool.




PyBLOCK BOLT12


SUPPORT PyBLØCK.

Bolt12: ⚑️ [email protected] ⚑️

Bitcoin Address: bc1prwjajvvax2rkm2wzelpfzzc2ncywht69pswnurhzdfj9qujhyxzsqpd3eg

Samourai Wallet Paynym: PM8TJhNTTq3YVocXuPtLjKx7pKkdUxqwTerWJ2j2a7dNitgyMmBPN6gK61yE17N2vgvQvKYokXktt6D6GZFTmocvDJhaUJfHt7ehEMmthjsT3NQHseFM

Monero: 42jtb4dAfm6BQ8h6x56qGyAMMHVXGRwRMTSb2LwsBg1jVqD4TxfpD1pTK56tkrTMGhEKipZdDHfJrB1g8iQfvSyC7gZ9M8M

PyBLØCK Nostr Pulic Channel

About

β„™π•ͺ𝔹𝕃𝕆ℂ𝕂 π•šπ•₯𝕀 𝕒 π”Ήπ•šπ•₯π•”π• π•šπ•Ÿ 𝔻𝕒𝕀𝕙𝕓𝕠𝕒𝕣𝕕 π•¨π•šπ•₯𝕙 β„‚π•ͺπ•‘π•™π•–π•£π•‘π•¦π•Ÿπ•œ 𝕒𝕖𝕀π•₯𝕙𝕖π•₯π•šπ•”.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages