Browse Source

log out drive.key

ameba23 3 years ago
parent
commit
0a35592ea2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.js

+ 1
- 0
index.js View File

@@ -10,6 +10,7 @@ const key = process.argv[2] ? Buffer.from(process.argv[2], 'hex') : null
10 10
 
11 11
 var drive = KappaDrive(ram, key)
12 12
 drive.ready(() => {
13
+  console.log('drive.key ', drive.key.toString('hex'))
13 14
   peerfsMount(drive, MOUNTDIR)
14 15
   swarm(drive)
15 16
 })