Skip to content

Commit

Permalink
fix(docs): convert wallet to string before parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Envoy-VC committed Jan 24, 2024
1 parent 15845b5 commit 48de3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const { TurboFactory } = require('@ardrive/turbo-sdk');
const AtomicToolkit = require('atomic-toolkit').default;
const fs = require('fs');

const jwk = JSON.parse(fs.readFileSync('./KeyFile.json'));
const jwk = JSON.parse(fs.readFileSync('./KeyFile.json').toString());
const turbo = TurboFactory.authenticated({ privateKey: jwk });

const toolkit = new AtomicToolkit({ turbo });
Expand Down

0 comments on commit 48de3b3

Please sign in to comment.