Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deemru/WavesKit

Waves Platform Development Kit for PHP
https://github.com/deemru/WavesKit

devkit php waveskit wavesplatform

Last synced: 26 days ago
JSON representation

Waves Platform Development Kit for PHP

Awesome Lists containing this project

README

        

# WavesKit

[![packagist](https://img.shields.io/packagist/v/deemru/waveskit.svg)](https://packagist.org/packages/deemru/waveskit) [![php-v](https://img.shields.io/packagist/php-v/deemru/waveskit.svg)](https://packagist.org/packages/deemru/waveskit) [![GitHub](https://img.shields.io/github/actions/workflow/status/deemru/WavesKit/php.yml?label=github%20actions)](https://github.com/deemru/WavesKit/actions/workflows/php.yml) [![codacy](https://img.shields.io/codacy/grade/439e2cedcdaf4091be29b7b1755e7c16.svg?label=codacy)](https://app.codacy.com/gh/deemru/WavesKit/files) [![license](https://img.shields.io/packagist/l/deemru/waveskit.svg)](https://packagist.org/packages/deemru/waveskit)

[WavesKit](https://github.com/deemru/WavesKit) is an all-in-one Waves Platform development kit for the PHP language.

- All you need to work with Waves in a single class
- Really easy to use
- Best practices for all
- Advanced features for pros

## Basic usage

```php
$wk = new WavesKit( 'T' );
$wk->setSeed( 'manage manual recall harvest series desert melt police rose hollow moral pledge kitten position add' );
$tx = $wk->txBroadcast( $wk->txSign( $wk->txTransfer( 'test', 1 ) ) );
$tx = $wk->ensure( $tx );
```

## Documentaion

- WavesKit documention: [WavesKit.md](https://github.com/deemru/WavesKit/blob/master/docs/WavesKit.md)
- Consider to learn self tests: [selftest.php](https://github.com/deemru/WavesKit/blob/master/test/selftest.php)
- Self tests contain tests of all transactions which can easily be used as examples

## Requirements

Will be installed automatically through `composer install`:

- [PHP](http://php.net) >= 5.6
- [deemru/abcode](https://packagist.org/packages/deemru/abcode)
- [deemru/blake2b](https://packagist.org/packages/deemru/blake2b)
- [deemru/curve25519](https://packagist.org/packages/deemru/curve25519)
- [deemru/cryptash](https://packagist.org/packages/deemru/cryptash)
- [deemru/pairs](https://packagist.org/packages/deemru/pairs)
- [deemru/cloaked](https://packagist.org/packages/deemru/cloaked)
- [deemru/fetcher](https://packagist.org/packages/deemru/fetcher)
- [Multibyte String](http://php.net/manual/en/book.mbstring.php)

## Recommended

- [PHP](http://php.net) >= 7.2
- [Sodium](http://php.net/manual/en/book.sodium.php)

## Installation

Require through Composer: `composer require deemru/waveskit`

```json
{
"require": {
"deemru/waveskit": "*"
}
}
```