Created
April 25, 2020 13:30
-
-
Save ligi/66b3f1a24de45026aa2ddb389eeaa55b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cat rules.js 15:29:01 | |
function ApproveNewAccount() { | |
return "Approve" | |
} | |
> yes test_password | ./build/bin/clef --rpc --keystore pretixkeys/ --pcscdpath none --acceptWarn --rules rules.js --advanced 15:29:17 | |
INFO [04-25|15:29:19.001] Using CLI as UI-channel | |
INFO [04-25|15:29:19.206] Loaded 4byte database embeds=146841 locals=0 local=./4byte-custom.json | |
## Master Password | |
Please enter the password to decrypt the master seed | |
!! Unsupported terminal, password will be echoed. | |
> | |
----------------------- | |
INFO [04-25|15:29:20.163] Rule engine configured file=rules.js | |
INFO [04-25|15:29:20.163] Starting signer chainid=1 keystore=pretixkeys/ light-kdf=false advanced=true | |
DEBUG[04-25|15:29:20.163] FS scan times list=44.838µs set=1.23µs diff=1.694µs | |
DEBUG[04-25|15:29:20.167] Ledger support enabled | |
DEBUG[04-25|15:29:20.168] Trezor support enabled via HID | |
DEBUG[04-25|15:29:20.168] Trezor support enabled via WebUSB | |
INFO [04-25|15:29:20.168] Smartcard socket file missing, disabling err="stat none: no such file or directory" | |
INFO [04-25|15:29:20.168] Clef is in advanced mode: will warn instead of reject | |
INFO [04-25|15:29:20.169] Audit logs configured file=audit.log | |
INFO [04-25|15:29:20.169] HTTP endpoint opened url=http://127.0.0.1:8550/ | |
DEBUG[04-25|15:29:20.169] IPC registered namespace=account | |
INFO [04-25|15:29:20.170] IPC endpoint opened url=/home/ligi/.clef/clef.ipc | |
------- Signer info ------- | |
* extapi_http : http://127.0.0.1:8550/ | |
* extapi_ipc : /home/ligi/.clef/clef.ipc | |
* intapi_version : 7.0.1 | |
* extapi_version : 6.0.0 | |
INFO [04-25|15:29:20.176] error occurred during execution error="ReferenceError: OnSignerStartup is not defined at <eval>:1:16(7)" | |
-------- New Account request-------------- | |
A request has been made to create a new account. | |
Approving this operation means that a new account is created, | |
and the address is returned to the external caller | |
Request context: | |
127.0.0.1:50620 -> HTTP/1.1 -> 127.0.0.1:8550 | |
Additional HTTP header data, provided by the external caller: | |
User-Agent: okhttp/4.4.1 | |
Origin: | |
Approve? [y/N]: | |
> ----------------------- | |
WARN [04-25|15:29:23.325] Served account_new conn=127.0.0.1:50620 reqid=0 t=149.333µs err="request denied" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment