Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit d65155f

Browse files
authored
Update node-example-subscribe.js
Remove API key mention
1 parent 1d9949b commit d65155f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/node/node-example-subscribe.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ const StreamrClient = require('streamr-client')
33
// Create the client and supply either an API key or an Ethereum private key to authenticate
44
const client = new StreamrClient({
55
auth: {
6-
apiKey: 'YOUR-API-KEY',
7-
// Or to cryptographically authenticate with Ethereum and enable data signing:
8-
// privateKey: 'ETHEREUM-PRIVATE-KEY',
6+
privateKey: 'ETHEREUM-PRIVATE-KEY',
97
},
108
})
119

0 commit comments

Comments
 (0)