Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ethjs-signer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
ethjs-signer
Commits
9ec871bf
Commit
9ec871bf
authored
Apr 25, 2017
by
Matthew Vickery
Committed by
GitHub
Apr 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing require() that causes ReferenceError: BN is not defined when executed
parent
ba7b23c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
README.md
README.md
+1
-0
No files found.
README.md
View file @
9ec871bf
...
...
@@ -52,6 +52,7 @@ const HttpProvider = require('ethjs-provider-http');
const
Eth
=
require
(
'ethjs-query'
);
const
eth
=
new
Eth
(
new
HttpProvider
(
'http://localhost:8545'
));
const
sign
=
require
(
'ethjs-signer'
).
sign
;
const
BN
=
require
(
'bignumber.js'
);
const
address
=
'0x0F6af8F8D7AAD198a7607C96fb74Ffa02C5eD86B'
;
const
privateKey
=
'0xecbcd9838f7f2afa6e809df8d7cdae69aa5dfc14d563ee98e97effd3f6a652f2'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment