Commit bb682ec6 authored by kenshin-samourai's avatar kenshin-samourai
Browse files

update readme.md

parent 3385ad5c
...@@ -7,7 +7,7 @@ A set of utilities for working with BIP47 and bitcoinjs-lib. ...@@ -7,7 +7,7 @@ A set of utilities for working with BIP47 and bitcoinjs-lib.
### Mainnet ### Mainnet
``` ```
const bip47 = require('bip47'); const bip47 = require('bip47-js');
const b58PCode = 'PM8TJTLJbPRGxSbc8EJi42Wrr6QbNSaSSVJ5Y3E4pbCYiTHUskHg13935Ubb7q8tx9GVbh2UuRnBc3WSyJHhUrw8KhprKnn9eDznYGieTzFcwQRya4GA'; const b58PCode = 'PM8TJTLJbPRGxSbc8EJi42Wrr6QbNSaSSVJ5Y3E4pbCYiTHUskHg13935Ubb7q8tx9GVbh2UuRnBc3WSyJHhUrw8KhprKnn9eDznYGieTzFcwQRya4GA';
...@@ -19,7 +19,7 @@ const notifAddr = pcode.getNotificationAddress(); ...@@ -19,7 +19,7 @@ const notifAddr = pcode.getNotificationAddress();
``` ```
const bitcoinjs = require('bitcoinjs-lib'); const bitcoinjs = require('bitcoinjs-lib');
const bip47 = require('bip47'); const bip47 = require('bip47-js');
const networks = bitcoinjs.networks; const networks = bitcoinjs.networks;
...@@ -38,7 +38,7 @@ The recommended method of using this library and bitcoinjs-lib in your browser i ...@@ -38,7 +38,7 @@ The recommended method of using this library and bitcoinjs-lib in your browser i
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Test BIP47 lib</title> <title>Test BIP47 lib</title>
<script src="libs/bip47-bundle.min.js"></script> <script src="libs/bip47-js-bundle.min.js"></script>
</head> </head>
<body> <body>
<script type="text/javascript"> <script type="text/javascript">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment