-
Notifications
You must be signed in to change notification settings - Fork 11
Creating address
Address is basic identifier on PHPCoin network.
It is public and open to everyone, but protected with private key in user possession.
Address can be created im many different ways:
Online wallet is available as decentralized app (dapp) on every node.
As an example for main node it can be accessed on link:
https://wallet.phpcoin.net/apps/wallet.
Visit wallet and click on link "Authenticate" and then "Create new one".
Note and copy (or write down) generated data.
Most important is that generated private key is never given or revealed to other party. It must be stored securely somewhere.
Without private key account can not be restored.
GUI wallet is standalone desktop application with versions for Windows and Linux.
With starting wallet if not found it will create account and address and store it in user system.
Address is available and visible in header of application.
CLI wallet is application without user interface which is executed in console.
It is available only for Linux (Ubuntu 20.04) on link
After downloading wallet:
wget https://phpcoin.net/download/phpcoin-wallet
make it executable:
chmod +x phpcoin-wallet
and start it with command:
./phpcoin-wallet
On start, wallet with automatically create account and address.
Account data is then stored on user system.
If user wants wallet can be encrypted also.
While standalone CLI or GUI wallet are only available for supported systems, account can be also created on any system that is able to run php.
User need to download or clone PHPCoin source code.
git clone https://github.com/phpcoinn/nodeThen wallet can be accessed through command
cd node/utils
php wallet.phpOr simple executing PHP code using PHPCoin SDK
require_once './utils/sdk.php';
$account = Account::generateAcccount();
print_r($account);On each node is available API which can be used to generate account.
Simply visit url:
https://main1.phpcoin.net/api.php?q=generateAccount
and write down generated data.