sharapudinov / crypt_example_php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypt example PHP

This repository contains PHP scripts that enable to generate MetaHash addresses, check its balance and see the full transaction history. Besides, crypt_example.php script describes methods allowing to create and send transactions as well as to obtain information on transaction via its hash. To learn more about all operations listed above please read the following articles: Getting started with Metahash network, Creating transactions and Operations with MetaHash address.

There are 2 ways of working with the script:

  1. Using the extension for php mhcrypto Read more
  2. Using the php library of mdanter/ecc Read more

You can use the path that suits you.

Requirements

Basic requirements

  • PHP 7.1+
  • ext-gmp
  • ext-curl

Additional requirements for mhcrypto extension

Additional requirements for mdanter/ecc library

  • composer
  • mdanter/ecc (0.5.0)

Usage

php crypt_example.php [params]

Repository contains demo page index.html. In order to work with this demo page you need to have an installed web server.

API

Read more

About


Languages

Language:PHP 41.1%Language:HTML 32.4%Language:CSS 26.3%Language:JavaScript 0.2%