mirror of
https://github.com/clitor-is-protocol/kevacoin-php.git
synced 2025-02-10 14:04:22 +00:00
add code highlight
This commit is contained in:
parent
d0f18f2956
commit
1f02662748
@ -12,8 +12,7 @@ To simply interact with Kevacoin API, use PHP library, e.g.
|
||||
|
||||
`composer require kevachat/kevacoin`
|
||||
|
||||
```
|
||||
|
||||
``` php
|
||||
// Connect kevacoin
|
||||
$client = new \Kevachat\Kevacoin\Client(
|
||||
$protocol,
|
||||
@ -37,8 +36,8 @@ if ($meta = $client->kevaGet($namespace, '_CLITOR_IS_'))
|
||||
// Grab namespace records from blockchain
|
||||
if ($pieces = $client->kevaFilter($namespace))
|
||||
{
|
||||
// Implement your app logic
|
||||
echo $reader->data($pieces);
|
||||
// Implement your app logic
|
||||
echo $reader->data($pieces);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user