{"id":15077673,"url":"https://github.com/code-architect/multichain-blockchain-php-library","last_synced_at":"2026-02-04T00:33:48.759Z","repository":{"id":207958466,"uuid":"718856970","full_name":"code-architect/Multichain-Blockchain-PHP-Library","owner":"code-architect","description":"A php library for permissioned blockchain Multichain. Mainly focuses on Asset management and Streams","archived":false,"fork":false,"pushed_at":"2023-11-22T09:43:47.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T02:13:59.621Z","etag":null,"topics":["env","multichain","multichain-wallet","multichaincli","permissioned-blockchain","php8","rest-api","symfony-bundle"],"latest_commit_sha":null,"homepage":"http://codearchitect.in/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-architect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-14T23:42:26.000Z","updated_at":"2023-11-14T23:47:24.000Z","dependencies_parsed_at":"2023-11-22T11:17:41.980Z","dependency_job_id":null,"html_url":"https://github.com/code-architect/Multichain-Blockchain-PHP-Library","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"4fab646468a9f58451bb7971adc3694660b17930"},"previous_names":["code-architect/multichain-blockchain-php-library"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-architect%2FMultichain-Blockchain-PHP-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-architect%2FMultichain-Blockchain-PHP-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-architect%2FMultichain-Blockchain-PHP-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-architect%2FMultichain-Blockchain-PHP-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-architect","download_url":"https://codeload.github.com/code-architect/Multichain-Blockchain-PHP-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243885889,"owners_count":20363644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["env","multichain","multichain-wallet","multichaincli","permissioned-blockchain","php8","rest-api","symfony-bundle"],"created_at":"2024-09-25T04:06:38.015Z","updated_at":"2026-02-04T00:33:48.716Z","avatar_url":"https://github.com/code-architect.png","language":"PHP","readme":"# Multichain Blockchain PHP library\n\nThis is a library that I have created for my recent project.\nIt's a useful tool if you want to implement Multichain blockchain in  your projects. It is very easy to use and work with. \nI 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.\nMultiChain 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.\n\nIt is fairly easy Just go through `index.php` most of the examples are provided there and the code is documented(can't believe it)\n\nFYI\nSeveral process manager tools can be used to manage RabbitMQ processes. Here are a few commonly used ones:\n\nSystemd:Systemd is a Linux initialization system and service manager. It's commonly used on modern Linux distributions to manage system processes, including RabbitMQ.\n\nSupervisord: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.\n\nDocker Compose:If you are using Docker to containerize your RabbitMQ application, Docker Compose can be used to manage multiple containers, including RabbitMQ.\n\n## Basic commands for Multichain Blockchain \nTo be able to work with multichain some basic CLI commands are required, which are given below\n\n\nStarting a node \u003cbr/\u003e\n`multichaind \u003cchainName\u003e -daemon`\u003cbr/\u003e\u003cbr/\u003e\n\nGet all the required parameters \u003cbr/\u003e\n`multichain-cli  \u003cchainName\u003e getinfo`\u003cbr/\u003e\u003cbr/\u003e\n\nGet get the information of the block and who mined it \u003cbr/\u003e\n`multichain-cli  \u003cchainName\u003e getblock \u003cblock height\u003e`\u003cbr/\u003e\u003cbr/\u003e\n\nCreate a new multichain blockchain \u003cbr/\u003e\n`multichain-util create \u003cchainName\u003e`\u003cbr/\u003e\u003cbr/\u003e\n\n\nConnect to blockchain from second node \u003cbr/\u003e \n`multichaind \u003cchainname\u003e@[ip-address]:[port]`\u003cbr/\u003e\u003cbr/\u003e\n\nProvide required permissions to second node \u003cbr/\u003e\n`Multichain-cli \u003cchainnamer\u003e grant \u003cwalletaddress\u003e connect`\u003cbr/\u003e\u003cbr/\u003e\n\nReconnect from Second Node \u003cbr/\u003e\n`multichaind \u003cchainname\u003e@[ip-address]:[port]`\u003cbr/\u003e\u003cbr/\u003e\n\nMultichain get info \u003cbr/\u003e \n`multichain-cli \u003cchainName\u003e getinfo`\u003cbr/\u003e\u003cbr/\u003e\n\nList of addresses \u003cbr/\u003e \n`multichain-cli  \u003cchainName\u003e listaddresses`\u003cbr/\u003e\u003cbr/\u003e\n\nGet new address \u003cbr/\u003e \n`multichain-cli  \u003cchainName\u003e getnewaddress`\u003cbr/\u003e\u003cbr/\u003e\n\nList permissions \u003cbr/\u003e\n`multichain-cli \u003cchainName\u003e listpermissions`\u003cbr/\u003e\u003cbr/\u003e\n\nList permissions type \u003cbr/\u003e\n`multichain-cli \u003cchainName\u003e listpermissions issus/mine/admin`\u003cbr/\u003e\u003cbr/\u003e\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-architect%2Fmultichain-blockchain-php-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-architect%2Fmultichain-blockchain-php-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-architect%2Fmultichain-blockchain-php-library/lists"}