Skip to content

charnacrypto/charnacoin_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Charnacoin Library

The Charnacoin Library for PHP

How It Works

The Charnacoin Library (aka Charnacoin_Payments.php) will try to connect to your Charnacoin RPC Daemon (charnacoin-wallet-rpc). See the next section for how to use it and for more information). Charnacoin RPC Daemon has a json api that can communicate with the Charnacoin Library. The Charnacoin Library will automatically know your address and other things.

Preview

Preview

Configuration

Requirements

  • PC + internet
  • Ubuntu or Debian
  • Charnacoin daemon
  • PHP server like XMPP; Apache or ngix

Step 1: Start the Charnacoin Daemon as Testnet

charnacoind --testnet --detach

Step 2: Start the Charnacoin Wallet RPC

charnacoin-wallet-rpc --testnet --rpc-bind-port 28080 --disable-rpc-login --wallet-file /path/walletfile

Step 3: Edit example.php with your ip (127.0.0.1 for localhost) and port of Charnacoin Wallet RPC (in the example it's 127.0.1 and 28080 port)

Step 4: Open your browser with your ip of XMPP, apache or nginx server and execute example.php. If the library works, it will print your address

About

The Charnacoin Library for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages