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: 7 months 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T21:28:29.000Z (over 3 years ago)
- Last Synced: 2025-02-01T09:22:12.251Z (8 months 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 TestCasesI] Clone project
git clone https://github.com/neha0921/substrate-interface-package.gitII] Update Composer
composer Update
III] To check testcase run following commandvendor/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.