2017 © Pedro Peláez
 

yii2-module yii2-altcoind

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

image

aleksandrzhiliaev/yii2-altcoind

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  • Sunday, May 6, 2018
  • by Sassoft
  • Repository
  • 3 Watchers
  • 8 Stars
  • 293 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 21 Versions
  • 48 % Grown

The README.md

yii2-altcoind

Total Downloads Codacy Badge, (*1)

Yii2 Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..), (*2)

You can use only altcoind components in your application to make calls to your bitcoind,litecoind,geth,monero servers or also use module which provides you web interface (show balance, make new transfer, show generated addresses, generate new address, show private keys of your addresses)., (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

php composer.phar require --prefer-dist aleksandrzhiliaev/yii2-altcoind

or add, (*6)

"aleksandrzhiliaev/yii2-altcoind": "*"

to the require section of your composer.json file., (*7)

Basic Usage

After installation you need to define your altcoind components in your yii container:, (*8)

...
'components' => [
        'bitcoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'rpc_username',
            'password' => 'rpc_password',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'litecoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'rpc_username',
            'password' => 'rpc_password',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'ethereum' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Ethereum',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'monero' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Monero',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'ripple' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Ripple',
            'urlNode' => 'url',
            'address' => 'xrp_address',
            'secret' => 'xrp_secret',
        ],
        'zcash' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'zec_account',
            'password' => 'zec_password',
            'host' => 'zec_host',
            'port' => 'zec_port',
        ],
        'bytecoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Bytecoin',
            'host' => 'bcn_host',           
        ],

        ...
]
...

You can install other clients which provide you RPC interface., (*9)

Now you can make transfers, generate new addresses and do other stuff like this:, (*10)

$txid = Yii::$app->bitcoin->send('address', 0.0001);

$address = Yii::$app->bitcoin->generateAddress('account_name');

$walletInfo = Yii::$app->bitcoin->getInfo();

$generatedAddresses = Yii::$app->bitcoin->showAddresses('account_name');

If something goes wrong these methods will throw standard ErrorException., (*11)

To use web interface you need to add module in modules section:, (*12)

'modules' => [
        ...
        'altcoind' => [
            'class' => 'aleksandrzhiliaev\altcoind\Module',
            'layout' => '@app/views/layouts/admin',
            'allowedUsers' => ['admin'],
            'wallets' => ['bitcoin', 'litecoin', 'ethereum', 'monero', 'ripple', 'zcash'],
            'mainPageCache' => 60 * 1,
        ],
        ...
]
...

You need to define user logins, who have rights to view that pages. Also you need to add a list of wallets which will be used in web interface., (*13)

Currencies support

Currently this module supports: * Bitcoin * Litecoin * Monero * Ethereum * Ripple * Zcash * Bytecoin, (*14)

The Versions

06/05 2018

dev-master

9999999-dev

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

06/05 2018

0.0.3.13

0.0.3.13

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

06/05 2018

0.0.3.12

0.0.3.12

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

27/11 2017

0.0.3.11

0.0.3.11

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

25/11 2017

0.0.3.10

0.0.3.10

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

18/11 2017

0.0.3.9

0.0.3.9

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

16/11 2017

0.0.3.8

0.0.3.8

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

30/10 2017

0.0.3.7

0.0.3.7

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

16/10 2017

0.0.3.6

0.0.3.6

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

12/10 2017

0.0.3.5

0.0.3.5

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

11/10 2017

0.0.3.4

0.0.3.4

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

08/10 2017

0.0.3.3

0.0.3.3

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

08/10 2017

0.0.3.2

0.0.3.2

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

23/09 2017

0.0.3.1

0.0.3.1

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

02/09 2017

0.0.3.0

0.0.3.0

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

22/08 2017

0.0.2.4

0.0.2.4

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

19/08 2017

0.0.2.3

0.0.2.3

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

19/08 2017

0.0.2.2

0.0.2.2

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

17/08 2017

0.0.2.1

0.0.2.1

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

29/07 2017

0.0.1.2

0.0.1.2

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin

29/07 2017

0.0.1.1

0.0.1.1

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 bitcoin litecoin yii2-bitcoin