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
04faefd2
Commit
04faefd2
authored
Apr 26, 2017
by
Matthew Vickery
Committed by
GitHub
Apr 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing gasPrice value to transaction
and a note that it's required
parent
9ec871bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
04faefd2
...
...
@@ -62,6 +62,8 @@ eth.getTransactionCount(address).then((nonce) => {
to
:
'0xce31a19193d4b23f4e9d6163d7247243bAF801c3'
,
value
:
300000
,
gas
:
new
BN
(
'43092000'
),
// when sending a raw transactions it's necessary to set the gas price, currently 0.00000002 ETH
gasPrice
:
new
BN
(
'20000000000'
),
nonce
:
nonce
,
},
privateKey
)).
then
((
txHash
)
=>
{
console
.
log
(
'Transaction Hash'
,
txHash
);
...
...
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