https://github.com/nitor-infotech-oss/parity-substrate-interface
This is a Php package project to incorporate API of Substrate framework for Blockchain
https://github.com/nitor-infotech-oss/parity-substrate-interface
api blockchain parity-substrate
Last synced: about 1 year ago
JSON representation
This is a Php package project to incorporate API of Substrate framework for Blockchain
- Host: GitHub
- URL: https://github.com/nitor-infotech-oss/parity-substrate-interface
- Owner: nitor-infotech-oss
- License: mit
- Created: 2021-08-05T05:05:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T21:28:29.000Z (over 4 years ago)
- Last Synced: 2025-02-01T09:22:12.251Z (over 1 year ago)
- Topics: api, blockchain, parity-substrate
- Language: PHP
- Homepage:
- Size: 2.27 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Project Info
We have implemented package which help use to communicate with surface interface through function.
## Budge Goes Here
[](https://github.com/nitor-infotech-oss/parity-substrate-interface)
## Clone Package
```bash
git clone https://github.com/nitor-infotech-oss/parity-substrate-interface.git
```
## Installation
You can install the package via composer:
```bash
composer require nitorInfoTechOss/substrate-interface-package
```
## Steps to create test enviornment
1. Create Test folder and one php file to test code
2. run command "touch composer.json"
3. try to run following code.
## Usage (Just Like)
```php
$testClass = new SubstrateInterface("http_url");
echo $testClass->rpc->system->name();
```
## Testing
```bash
vendor/phpunit/phpunit/phpunit
```
## To run TestCases
I] Clone project
git clone https://github.com/neha0921/substrate-interface-package.git
II] Update Composer
composer Update
III] To check testcase run following command
vendor/bin/phpunit
e.g. ::
1. vendor/bin/phpunit --filter testSystemName
2. vendor/bin/phpunit --filter testRpcMethods
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.