All Projects → arzzen → altcoin-bitcoin-explorer

arzzen / altcoin-bitcoin-explorer

Licence: MIT license
PHP Altcoin/Bitcoin Data Explorer

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to altcoin-bitcoin-explorer

Crypto-Resources
Resources for trading Bitcoin and Altcoins
Stars: ✭ 22 (+15.79%)
Mutual labels:  litecoin, altcoins
wallet-address-validator
Useful library for validation of Bitcoin, Litecoin, Ethereum and other cryptocoin addresses
Stars: ✭ 240 (+1163.16%)
Mutual labels:  litecoin, altcoins
CryptoCurrency
Page to keep track of value & profits of a portfolio of cryptocurrency (based on Coinmarketcap, Bitfinex and Binance)
Stars: ✭ 27 (+42.11%)
Mutual labels:  litecoin, altcoins
Stack
A Type-Safe, Thread-Safe-ish approach to CoreData in Swift
Stars: ✭ 47 (+147.37%)
Mutual labels:  transaction
sargeras
基于Saga思想解决长事务(LLT,Long-Live-Transaction)的框架
Stars: ✭ 22 (+15.79%)
Mutual labels:  transaction
rawtx
A Golang module that helps you answer questions about raw Bitcoin transactions, their inputs, outputs and scripts.
Stars: ✭ 12 (-36.84%)
Mutual labels:  transaction
Essentia-iOS
All in One Blockchain solution
Stars: ✭ 50 (+163.16%)
Mutual labels:  litecoin
ProteinSecondaryStructure-CNN
Protein Secondary Structure predictor using Convolutional Neural Networks
Stars: ✭ 82 (+331.58%)
Mutual labels:  chain
Blockchain
Implementation of a Blockchain as a school project
Stars: ✭ 16 (-15.79%)
Mutual labels:  transaction
sesdashboard
Analytics and activity tracking dashboard for AWS Simple Email Service
Stars: ✭ 36 (+89.47%)
Mutual labels:  transaction
factomjs
Javascript library to build applications on the Factom blockchain.
Stars: ✭ 23 (+21.05%)
Mutual labels:  transaction
Fog
Pharo Ethereum Driver
Stars: ✭ 19 (+0%)
Mutual labels:  transaction
indyscan
Hyperldger Indy Transaction Explorer
Stars: ✭ 52 (+173.68%)
Mutual labels:  transaction
blockstarter
This is a white label solution to create a contribution crypto-wallet that can be used in your ICO campaign.
Stars: ✭ 21 (+10.53%)
Mutual labels:  litecoin
guide vue-cli-3-multiple-entry-points
Simple guide to show how to create multiple entry points (pages) using vue-cli-3
Stars: ✭ 29 (+52.63%)
Mutual labels:  chain
moonshine
Moonshine is a homebrewed, open-source, non-custodial, Bitcoin wallet for iOS & Android.
Stars: ✭ 56 (+194.74%)
Mutual labels:  litecoin
k2hftfuse
File transaction by FUSE-based file system
Stars: ✭ 30 (+57.89%)
Mutual labels:  transaction
webpay rails
WebpayRails is an easy solution for integrate Transbank Webpay in Rails applications
Stars: ✭ 16 (-15.79%)
Mutual labels:  transaction
EasyNetworking
🛰Easy networking with async/await
Stars: ✭ 27 (+42.11%)
Mutual labels:  chain
k2hash
K2HASH - NoSQL Key Value Store(KVS) library
Stars: ✭ 33 (+73.68%)
Mutual labels:  transaction

Altcoin/Bitcoin Data Explorer

Build Status SensioLabs Insight License Latest Stable Version

PHP Altcoin/Bitcoin data Explorer

This package can get transaction information with Bitcoin protocol.

It can send HTTP requests to a Bitcoin peer server to perform several operations.

Currently it can get transaction details, get peer information, get mining information, get network hashes, get block chains, etc..

Installation

You can install this library by using [Composer]. You can also view more info about this on [Packagist].

Add this to the require section in your composer.json file.

{
    "require": {
        "arzzen/altcoin-bitcoin-explorer": "1.1.*"
    }
}

Usage

Information about network:

# Get information from network 
use BlockExplorer\NetworkInfo;
$network = new NetworkInfo($ip, $port, $username, $password);

# Get information about the wallets network and block chain
$networkInfo = $network->getInfo();
print_r($networkInfo);

# Get data about each connected node
$peerInfo = $network->getPeerInfo();
print_r($peerInfo);

# Get calculated network hash rate for the latest block
$latestHash = $network->getNetworkHashForLatestBlock();
print_r($latestHash);

Information about transactions:

# Fetch transactions information
use BlockExplorer\Transaction;
$transaction = new Transaction($ip, $port, $username, $password);

$transactionInfo = $transaction->getTransaction('51b78168d94ec307e2855697209275d477e05d8647caf29cb9e38fb6a4661145');
print_r($transactionInfo);

Information from block chain:

# Get information from blockchain
use BlockExplorer\BlockChain;
$block = new BlockChain($ip, $port, $username, $password);

$blockInfoFromHash = $block->getBlock('000000000000000007c4695c756bb944cf31f1f20487a32375d9d4c61dfd6349');
print_r($blockInfoFromHash);

$blockInfoFromHeight = $block->getBlockHash('308788');
print_r($blockInfoFromHeight);

Award

Class won "PHP Programming Innovation Award" on phpclasses.org (August 2014). Link.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].