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
036cf51f
Commit
036cf51f
authored
Apr 26, 2017
by
Nick Dodson
Committed by
GitHub
Apr 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3 from mattvick/master
added missing gasPrice value to transaction
parents
afa3d42f
04faefd2
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 @
036cf51f
...
...
@@ -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