itleaks / js4eos Goto Github PK
View Code? Open in Web Editor NEWA javascript application to play/start EOS just like eos client cleos(一条Javascript命令玩转EOS,EOSForce, Fibos, ENU)(EOS script)(EOS Testing Framework)(EOS Truffle)(Powered by Itleaks)
A javascript application to play/start EOS just like eos client cleos(一条Javascript命令玩转EOS,EOSForce, Fibos, ENU)(EOS script)(EOS Testing Framework)(EOS Truffle)(Powered by Itleaks)
那密码是什么
js4eos compile2 -o ./contracts/test/test.wasm ./contracts/test/src/test.cpp
fail due to network or error, please check network and try again
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Request._callback (C:\Users\eos\AppData\Roaming\npm\node_modules\js4eos\lib\compile.js:28:21)
at Request.self.callback (C:\Users\eos\AppData\Roaming\npm\node_modules\js4eos\node_modules\request\request.js:185:22)
at Request.emit (events.js:182:13)
at Request. (C:\Users\eos\AppData\Roaming\npm\node_modules\js4eos\node_modules\request\request.js:1161:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (C:\Users\eos\AppData\Roaming\npm\node_modules\js4eos\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1094:12)
λ js4eos reset
Starting js4eos_bg2 daemon... 就结束了 没有错误,也没有编译后的wast/wasm,abi文件。
dapp里面cdt合约版本有点老了,可以更新吗
js4eos push action youraccount hi '["youraccount"]' -p youraccount 怎么显示print打印信息
编译合约报错,但是编译hello合约又可以。
anonymous$ js4eos dapp compile eosio.token
TypeError: Cannot read property 'kylin' of undefined
at compile (/usr/local/lib/node_modules/js4eos/cmds/dapp_cmds/compile.js:35:59)
at Object.exports.handler (/usr/local/lib/node_modules/js4eos/cmds/dapp_cmds/compile.js:76:5)
at Object.self.runCommand (/usr/local/lib/node_modules/js4eos/node_modules/yargs/lib/command.js:231:22)
at Object.Yargs.self._parseArgs (/usr/local/lib/node_modules/js4eos/node_modules/yargs/yargs.js:990:30)
at Object.self.runCommand (/usr/local/lib/node_modules/js4eos/node_modules/yargs/lib/command.js:202:45)
at Object.Yargs.self._parseArgs (/usr/local/lib/node_modules/js4eos/node_modules/yargs/yargs.js:990:30)
at Object.get [as argv] (/usr/local/lib/node_modules/js4eos/node_modules/yargs/yargs.js:930:19)
at startCmd (/usr/local/lib/node_modules/js4eos/js4eos:8:3)
at Object.<anonymous> (/usr/local/lib/node_modules/js4eos/js4eos:28:5)
at Module._compile (internal/modules/cjs/loader.js:722:30)
js4eos set account permission qyvlikeosdev active EOS4xWTNK4ySE57Am86fH5pbFhyDhTGkrHDiWgNoNnYTabCqBkhky owner -p qyvlikeosdev
qyvlikeosdev
active
(node:63321) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token E in JSON at position 0
at JSON.parse (<anonymous>)
at EosHelper.EOS.transaction.tr (/usr/local/lib/node_modules/js4eos/lib/api.js:161:24)
at trMessageCollector (/usr/local/lib/node_modules/js4eos/node_modules/eosjs/lib/write-api.js:560:26)
at Object._callee$ (/usr/local/lib/node_modules/js4eos/node_modules/eosjs/lib/write-api.js:327:48)
at tryCatch (/usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:114:21)
at tryCatch (/usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:62:40)
at invoke (/usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:152:20)
at /usr/local/lib/node_modules/js4eos/node_modules/regenerator-runtime/runtime.js:195:11
(node:63321) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:63321) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
js4eos 支持开启 http rpc 模式吗? @itleaks
本想要通过 set account permission 设置自定义权限时,出现了"only support update active permission"的中断??
When I want to set a custom permission with set account permission, I get an interrupt for "only support update active permission"??
类似cleos get table
js4eos 的钱包文件在哪里?能否通过 docker 的数据卷进行挂载?
用这种方式编译:js4eos compile2 -g xxx.abi xxx.cpp --contract contractclass
报下面的错:
fail due to network or error, please check network and try again
SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Request._callback (/usr/local/lib/node_modules/js4eos/lib/compile.js:28:21)
at self.callback (/usr/local/lib/node_modules/js4eos/node_modules/request/request.js:185:22)
at Request.emit (events.js:200:13)
at Request.onRequestError (/usr/local/lib/node_modules/js4eos/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:200:13)
at Socket.socketErrorListener (_http_client.js:402:9)
at Socket.emit (events.js:200:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
这个地址报 503 导致无法编译http://api.eosfavor.com/
由于没有修改eosio.token.cpp源文件,所以编译报错
eosio.token.cpp:6:10: fatal error: 'eosio.token/eosio.token.hpp' file not found
#include <eosio.token/eosio.token.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
但是修改源文件后,不检查新修改的代码,依然报之前的错误。
js4eos wallet unlock 如何在命令里中自动输入密码?
尝试了如下两种方式,都无法自动输入密码
echo 'PASSWORD' | js4eos wallet unlock
以及
js4eos wallet unlock << EOF
PASSWORD
EOF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.