Skip to content

This repository contains PHP scripts that enable to generate MetaHash addresses, check its balance and see the full transaction history.

Notifications You must be signed in to change notification settings

metahashorg/crypt_example_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

This repository contains PHP scripts that enable to generate MetaHash addresses, check its balance and see the full transaction history.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •