このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Bitcoin Address

説明

ノート: このプラグインはPHP5.3かそれ以上のバージョンが必要です。

Reusing bitcoin addresses is bad for your privacy. With this plugin you can enter a shortcode – [bitcoin_address] – in your blog posts or pages that displays a button which users can use to get a fresh bitcoin address. Address requests are logged and you can browse that log from the WordPress admin area.

The plugin works by generating deterministic addresses using an Electrum Master Public Key. You need to create a new Electrum wallet and then paste its Master Public Key into the plugin’s settings page. It will then generate addresses from that wallet sequentially.

Creating Electrum Wallet

You will need an Electrum Master Public Key which is also known as an extended public key (xpub). The plugin only works with Electrum MPKs but does support both Electrum version 1.x and 2.x MPKs. It only supports standard wallets i.e. it does not support multisig wallets or 2FA wallets.

  • Electrum を起動し、デフォルトのウォレットを開いてください。
  • To create a new wallet select File menu > New/Restore.
  • 新しいウォレットファイルの名前を入力してください。
  • Follow the on-screen prompts to create a new wallet.
  • To see the Master Public Key of your new wallet go to Wallet menu > Master Public Keys.
  • It is recommended that you increase the gap limit of your wallet from the default 20. The gap limit is the number of unused addresses Electrum keeps track of. To increase the gap limit open your wallet and go to the console tab. Type in wallet.change_gap_limit(50). Close Electrum and reopen your wallet to see new addresses listed on the receive tab.
  • TIP: To open your new wallet in future run Electrum and select File menu > Open. Then navigate to your wallet file and select it to open it.
  • TIP: You can create a shortcut to your new wallet using the -w switch i.e. electrum -w c:\path\to\wallet_file. To learn the location of your wallet file see this FAQ.

Configuring plugin

To access the plugin configuration page you need to login to the WordPress admin page. Then click on Settings > Bitcoin Address from the left sidebar. There you can paste the Electrum Master Public Key.

ショートコード

このプラグインのショートコードは [bitcoin_address] です。次のオプションがあります:

  • Display type: You can specify a type of “field” or “link”. Field type will display a text field containing the address. Link will display a bitcoin address link. For example: [bitcoin address type=’field’] will display a text field. The default type is field.
  • QR Code: You can enable or disable the display of a QR Code containing the address. Ex: [bitcoin_address type=’link’ qr_code=’enabled’] will display an address as a link and above that link will be the address QR code. By default QR code display is disabled.

アクセスログ

An address log is maintained that lists the time and date an address was handed out, the ip address of the user who requested it, and the address itself. You can see the address log in WordPress admin > Settings > Bitcoin Address Log

クレジット

このプラグインは次のオープンソーススクリプトを使用しています:

スクリーンショット

  • アドレス表示
  • プラグイン設定

インストール

  1. パッケージを解凍して、 /wp-content/plugins/ に、 bitcoin-address をアップロードしてください。
    ディレクトリ
  2. WordPressの「プラグイン」メニューでプラグインを有効化します。
  3. 設定メニューにある > Bitcoin Addressで、Electrumマスター公開鍵を入力してください。

評価

このプラグインにはレビューがありません。

貢献者と開発者

Bitcoin Address はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Bitcoin Address” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Bitcoin Address” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.8.0

  • Now supports Electrum version 2.x MPKs

0.7.8

  • readme.txt updated with instructions on how to raise the gap limit.

0.7.7

  • First publicly released version