Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pls-pnv
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
plaasio
pls-pnv
Commits
73cd3d1c
Commit
73cd3d1c
authored
Feb 01, 2020
by
plaasio
👷🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pnv.js
parent
5486d89c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
pnv.js
pnv.js
+12
-3
No files found.
pnv.js
View file @
73cd3d1c
...
...
@@ -20,7 +20,7 @@ futureAddress = '0x7D1Ce470c95DbF3DF8a3E87DCEC63c98E567d481';
plaasTokenAddress
=
'0x60571E95E12c78CbA5223042692908f0649435a5'
;
//farmer creds
vAddressPublic
=
'
0xc5453b266F4FA4B9D3dA10C1Bd3a17b9b45516C6
'
;
vAddressPublic
=
''
;
vAddressPrivate
=
''
;
//validator creds
...
...
@@ -158,8 +158,17 @@ var provider = new SignerProvider(ethHost, {
}
try
{
init
()
getPySrc
(
'lcd.py'
,
[
'ADD VALIDATOR'
,
'scan keys..'
]);
//var read = await getPySrc('rd-rfid.py', []);
//var write = await getPySrc('wt-rfid.py', ['value1', 'value2', 'value3']);
var
action
=
await
new
Promise
.
race
([
getPySrc
(
'rd-rfid.py'
,
[])]);
vAddressPublic
=
parse
(
action
).
pub
;
vAddressPrivate
=
parse
(
action
).
priv
;
init
();
}
catch
(
e
){
...
...
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