Skip to content

This is a Php package project to incorporate API of Substrate framework for Blockchain

License

Notifications You must be signed in to change notification settings

nitor-infotech-oss/parity-substrate-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Info

We have implemented package which help use to communicate with surface interface through function.

Budge Goes Here

Issue

Clone Package

git clone https://github.com/nitor-infotech-oss/parity-substrate-interface.git

Installation

You can install the package via composer:

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)

$testClass = new SubstrateInterface("http_url");
echo $testClass->rpc->system->name();

Testing

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 for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

About

This is a Php package project to incorporate API of Substrate framework for Blockchain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published