GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - code-architect/Multichain-Blockchain-PHP-Library: A php library for permissioned blockchain Multichain. Mainly focuses on Asset management and Streams

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
core
core
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
Config.php
Config.php
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
index.php
index.php
 
 

Repository files navigation

Multichain Blockchain PHP library

This is a library that I have created for my recent project. It's a useful tool if you want to implement Multichain blockchain in your projects. It is very easy to use and work with. I would suggest you wrap around an MVC framework around it so it can be used kind of a BaaS (Blockchain as a Service), you can send request and process it via queue manager like Kafka or rabbitmq. MultiChain 2.3.3. update the library core/Private/MultiChainClient.php to be able to use the updated library and change the .env file details. That should get your project up. I would highly recommend using docker as a deploy container.

It is fairly easy Just go through index.php most of the examples are provided there and the code is documented(can't believe it)

FYI Several process manager tools can be used to manage RabbitMQ processes. Here are a few commonly used ones:

Systemd:Systemd is a Linux initialization system and service manager. It's commonly used on modern Linux distributions to manage system processes, including RabbitMQ.

Supervisord:Supervisord is a process control system that allows its users to monitor and control a number of processes on Unix-like operating systems. It's often used to manage RabbitMQ processes.

Docker Compose:If you are using Docker to containerize your RabbitMQ application, Docker Compose can be used to manage multiple containers, including RabbitMQ.

Basic commands for Multichain Blockchain

To be able to work with multichain some basic CLI commands are required, which are given below

Starting a node
multichaind <chainName> -daemon

Get all the required parameters
multichain-cli <chainName> getinfo

Get get the information of the block and who mined it
multichain-cli <chainName> getblock <block height>

Create a new multichain blockchain
multichain-util create <chainName>

Connect to blockchain from second node
multichaind <chainname>@[ip-address]:[port]

Provide required permissions to second node
Multichain-cli <chainnamer> grant <walletaddress> connect

Reconnect from Second Node
multichaind <chainname>@[ip-address]:[port]

Multichain get info
multichain-cli <chainName> getinfo

List of addresses
multichain-cli <chainName> listaddresses

Get new address
multichain-cli <chainName> getnewaddress

List permissions
multichain-cli <chainName> listpermissions

List permissions type
multichain-cli <chainName> listpermissions issus/mine/admin

About

A php library for permissioned blockchain Multichain. Mainly focuses on Asset management and Streams

codearchitect.in/

Topics

envmultichainmultichain-walletmultichainclipermissioned-blockchainphp8rest-apisymfony-bundle

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.