We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2fd51f commit 841b8abCopy full SHA for 841b8ab
2 files changed
README.md
@@ -33,8 +33,9 @@ yarn add bitfact
33
const bitfact = new BitFact({
34
provider: "https://mainnet.infura.io/v3/37a0db22401bbe211112",
35
privateKey: "321d3fa232e55dedee2bd914273f78897f69053b61437c5"
36
-});
+}, {chain: 'mainnet'});
37
```
38
+*Optional* 2nd Parameter: **chain** can be of value `mainnet` or `ropsten`. If ignored, `mainnet` will be used.
39
40
#### ❇️ Snippet #1: Fingerprint text or raw data.
41
```javascript
config.js
@@ -1,4 +1,4 @@
1
module.exports = {
2
BITFACT_ADDR: "0xface74F0D85CF2FC5a7cd4f55258493c0535F89B",
3
- DEFAULT_CHAIN: {chain: 'ropsten'}
+ DEFAULT_CHAIN: {chain: 'mainnet'}
4
}
0 commit comments