nebulasio / wiki Goto Github PK
View Code? Open in Web Editor NEWThis repository is out of date, please check the new wiki:
Home Page: http://wiki.nebulas.io/en/latest/
License: GNU General Public License v3.0
This repository is out of date, please check the new wiki:
Home Page: http://wiki.nebulas.io/en/latest/
License: GNU General Public License v3.0
Firstly deploy my code successfully, and then I need improve my code, so how can I change my smart contract?
在本地节点 运行Demo Dapp 添加字典内容时候 点击生成交易 发生以下报错:cannot found account in storage
curl -i -H 'Accept: application/json' -X POST http://localhost:8685/v1/admin/transactionWithPassphrase -H 'Content-Type: application/json' -d '{"transaction":{"from":"n1H4MYms9F55ehcvygwWE71J8tJC4CRr2so","to":"n1rVLTRxQEXscTgThmbTnn2NqdWFEKwpYUM", "value":"100","nonce":1,"gasPrice":"1000000","gasLimit":"2000000","contract":{"function":"check","args":"[0]"}}, "passphrase": "passphrase"}'
HTTP/1.1 400 Bad Request
Content-Type: application/json
Date: Tue, 08 May 2018 08:57:53 GMT
Content-Length: 44
{"error":"cannot found account in storage"}
我用网页钱包切换到local node查询代币数量提示 网络错误,请帮忙解决.私链已经启动的情况下.
INFO[2018-05-07T18:43:58+08:00] Started crash reporter. file=crashclient.go func=main.InitCrashReporter line=115
ERRO[2018-05-07T18:43:58+08:00] Failed to start pprof err="" file=main.go func=main.runNeb line=103 listen="0.0.0.0:8888"
INFO[2018-05-07T18:43:58+08:00] Setuping Neblet... file=neblet.go func="neblet.(*Neblet).Setup" line=110
ERRO[2018-05-07T18:43:58+08:00] Failed to check port. err="listen port is not available" file=net_service.go func=net.NewNebService line=38 listen="[0.0.0.0:8680]"
FATA[2018-05-07T18:43:58+08:00] Failed to setup net service. err="listen port is not available" file=main.go func=main.runNeb line=108
make build
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=-X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
../../vendor/github.com/tecbot/gorocksdb/options.go:1045:2: could not determine kind of name for C.rocksdb_options_set_allow_ingest_behind
make: *** [build] Error 2
文档中的这句话
否则,其他节点启东市需要配置seed,seed节点将会把网络中其他节点的路由信息同步给刚启动的节点
应该是
否则,其他节点启动时需要配置seed,seed节点将会把网络中其他节点的路由信息同步给刚启动的节点
I'm working through the tutorial on connecting to the Testnet and have come up against the errors can not say hello to trusted node
and node is already exist in route table
.
Any suggestions for how I can troubleshoot this? I'd be happy to add some clarity to the documentation if it happens to be missing something.
var BankVaultContract = function () { LocalContractStorage.defineMapProperty(this, "userArray", null);
...
init: function () { this.userArray = [];
Test result:
{"result":"TypeError: Cannot set property userArray of # which has only a getter","execute_err":"Deploy: TypeError: Cannot set property userArray of # which has only a getter","estimate_gas":"25648"}
Where am I wrong?
从语法和代码美观上面来说 class要更容易阅读, 现在的v8已经原生支持es6,为什么还要选择上一代的javascript语法来作为官方合约demo呢。 还有是否可以用webpack之类的工具来编译或者预处理合约,生成的冗余代码会不会增加gas?
Hi @royshang ,
We already using Protobuf as serialization tech solution, please keep that update to date.
Hi guys
I follow the solution of #92, then request 10 NAS on testnet by URL (https://testnet.nebulas.io/claim/#), but it doesn't work. I even can't track the trade by the txhash. Could you help to check it....
I have to say I've got a low user experience on NEBULAS today...
Canceled in error. Not very PC wise. Apologise.
请问合约里如何对不同地址进行批量转账呢?
for Blockchain.transfer(from, amount)
只能用循环这样调用吗?
myneb.api.call({
from: dapp_address,
to: dapp_address,
value: 0,
contract: {
function: "withdraw",
args: JSON.stringify(['n1Rs4R8EA7TNjvAyWexkecS2dEJLKhdiyLc', 5000000])
},
gasPrice: 1000000,
gasLimit: 2000000,
}).then(function(tx) {
console.log(tx);
});
大概是这个意思,我这显示成功但并没有真正到账
When installing Nebulas for the first time and running ./neb users will receive the error.
Error: err="the size of initial dynasty in genesis block is un-safe, should be greater than or equal 8" file=main.go func=main.runNeb line=109
The solution:
Add more address to the Dynasty block or genesis.conf file. Example below
This will fix the error above
$ ./neb account new
Your new account is locked with a passphrase. Please give a passphrase. Do not forget this passphrase.
Passphrase:
Repeat passphrase:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xa6c502]goroutine 1 [running]:
github.com/nebulasio/go-nebulas/core.(*Address).String(0x0, 0xc4200149b0, 0x5)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/core/address.go:138 +0x22
main.accountCreate(0xc420012b00, 0x0, 0x0)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/accountcmd.go:109 +0xf6
main.MergeFlags.func1(0xc420012b00, 0x0, 0xc420012b00)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/flags.go:356 +0x103
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.HandleAction(0xceb220, 0xc4201af720, 0xc420012b00, 0xc420062500, 0x0)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:490 +0xd2
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.Run(0xe36a0b, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe458be, 0x14, 0x0, ...)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:210 +0xa95
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.(*App).RunAsSubcommand(0xc42006d1e0, 0xc420012840, 0x0, 0x0)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:379 +0xa7b
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.startApp(0xe39cb2, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe40fe6, 0xf, 0x0, ...)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:298 +0x944
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.Command.Run(0xe39cb2, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe40fe6, 0xf, 0x0, ...)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/command.go:98 +0x1319
github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli.(*App).Run(0xc42006cd00, 0xc420010090, 0x3, 0x3, 0x0, 0x0)
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/vendor/github.com/urfave/cli/app.go:255 +0x6f8
main.main()
/home/ubuntu/workspace/blockchain/src/github.com/nebulasio/go-nebulas/cmd/neb/main.go:76 +0xaa0
3KtER
ubuntu@ubuntu-xenial:/path/to/workspace/src/github.com/nebulasio/go-nebulas$ sudo make build cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=f86edd419d21a57737deb7b90d8ff187a3338339 -X main.branch=master -X main.compileAt=
date +%s" -o ../../neb-f86edd419d21a57737deb7b90d8ff187a3338339 /bin/sh: 1: go: not found Makefile:66: recipe for target 'build' failed make: *** [build] Error 127
这个是干什么用的?跟矿工里面coin address有什么关系?
完全按照步骤执行,到这一步出现这个问题
make shared_lib && make install-shared:
报错如下:
root@bochain:/path/to/workspace/src/github.com/nebulasio/go-nebulas# cd rocksdb & make shared_lib && make install-shared
[1] 524
make: *** No rule to make target 'shared_lib'. Stop.
[1]+ Done
Nebulas,基于价值尺度的区块链操作系统及搜索引擎。
当前区块链,一方面无法满足大规模商业应用的扩容性,另外一方面存在价值尺度缺失,各个区块链项目五花八门,技术角度不一,吸引人群有差异,宣传力度也不一致,没有一个统一的价值尺度来衡量这些区块链项目。
主要内容包含:
NR确实有比较大的商业潜力,但如何对抗人性中的弱点才是亮点。如果搞出一个不错的指数,但抵不住人性的恶,分分钟被作弊薅羊毛了,这个指数有还不如没有。
将星云链上的应用简单理解成智能合约,这些智能合约是链上数据的一部分,通过链上数据的追加实现基础协议的升级。这个说法很有问题,升级智能合约是大家都想的,但如何达成共识来升级呢?星云链通过在智能合约底层存储支持状态变量可跨合约访问的设计,完成智能合约的升级,这一句感觉有点玄乎呢?
PoD算法,利用NR的价值尺度评估出对生态贡献度较高的账户,平等赋予记账资格。如果NR是可以人为参与影响,那么遏制记账权被垄断就很难说得过去。
NR是其他算法的基础部分,三重价值尺度:
流动性
交易的频次和规模,这个就完全可以造假
传播性
资产流动的广度和深度,也完全可以造假
互操作性
信息间的互操作,具体这些操作是什么?
其实说了这么多,就是按照对每个帐号地址进行统一价值尺度的图计算处理。然而现在的图计算是中心化的计算,基本都是采用分布式计算,比如Spark来计算,这个NR的计算难道也要用贵公司的服务器来跑?
作弊手法:
NR弱化作弊的机制:
这个NR说这么多,就是简单考量地址的热度,这个跟整个项目的热度也不是绝对的对应关系。比特币转账成本这么高,让它在钱包里呆着好了,或者直接在交易平台呆着好了,但其他交易费低的就不是这样。要用一个统一的数值来衡量所有的项目,难度还是很大。至少这个NR设计看不出有这个能力。
这些基础的疑问,如果Nebulas不出来解答,白皮书下面部分是没必要看了。
cp /path/to/keystore.json /path/to/keydir/
无需执行此命令.
生成的钱包私钥命名是公钥地址,不是keystore.json
curl -i -H 'Accept: application/json' -X POST http://localhost:8685/v1/user/transaction -d
'{"from":"1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c","to":"e6dea0d0769fbf71ab01f8e0d78cd59e78361a450e1f4f88","nonce":1,"value":"10"}'
HTTP/1.1 500 Internal Server Error
Content-Type: application/json
Date: Sun, 11 Mar 2018 04:32:49 GMT
Content-Length: 55
{"error":"uint128: invalid string to uint128","code":2}
Any insight?
看教程看到星云链交互那里,突然就懵逼了。
HTTP API怎么用的啊 为什么我运行testing里面的main.go的结果跟教程不一样呢?
我的是这样:
moyu:client$ go run main.go
2018/05/08 10:50:22 GetNebState tail chain_id:100 tail:"6315d478167eef6539df3371b15dd168dc8d4f02726787babb73c45f9d95f408" lib:"0000000000000000000000000000000000000000000000000000000000000000" height:14 protocol_version:"/neb/1.0.0" version:"1.0.1"
2018/05/08 10:50:22 GetAccountState n1QZMXSZtW7BUerroSms4axNfyBGyFGkrh5 nonce 0 value 0
2018/05/08 10:50:22 GetAccountState n1Zn6iyyQRhqthmCfqGBzWfip1Wx8wEvtrJ nonce 0 value 0
2018/05/08 10:50:22 UnlockAccount failed: rpc error: code = Unknown desc = account is not found
2018/05/08 10:50:22 SendTransaction failed: rpc error: code = Unknown desc = account is locked
2018/05/08 10:51:02 GetAccountState n1Zn6iyyQRhqthmCfqGBzWfip1Wx8wEvtrJ nonce 0 value 0
求详解用法
提交Dapp时所需要填写的合约Hash是指什么呢
在进行智能合约储存区键值对储存测试时,进行query遇到"error":"invalid character '\\' looking for beginning of value"的错误提示
代码如下
save: function (jsonstr) {
this.redisdb.put("test", jsonstr);
},
query: function () {
var x = this.resumedb.get("test");
return x;
}
调用save时成功 status=1
但query时报错
查询语句
curl -i -H 'Accept: application/json' -X POST http://localhost:8685/v1/user/call -H 'Content-Type: application/json' -d '{"from":"n1FF1nz6tarkDVwWQkMnnwFPuPKUaQTdptE","to":"n1tL2fXV7Eh1sonkqBxc8hGUkMsQhJMq7cm", "value":"0","nonce":28,"gasPrice":"1000000","gasLimit":"2000000","contract":{"function":"query","args":""}}'
因为合约部署时引号都进行了转义 怀疑可能这里出了问题
推荐使用 [email protected]以上,文档示例却是1.7.6,是否应该保持一致,或使用最新的版本?
Hi. Can I save a key-value pair in a smart contract via map, where the value is my instance of custom class like map = new map(<String, Car>), if not then how to get around this problem? Thank you.
java code example:
class Car{
String brand;
String model;
...
Car(String brand, String model, ...) {
this.brand = brand;
this.model = model;
...
} }
I'm unable to access the contract via RPC as no contract_address
is returned using sendTransaction
.
var contract = {
"args": "",
"sourceType": "js",
"src": "var DepositeContent=function(t){if(t){let n=JSON.parse(t);this.balance=new BigNumber(n.balance),this.expiryHeight=new BigNumber(n.expiryHeight)}else this.balance=new BigNumber(0),this.expiryHeight=new BigNumber(0)};DepositeContent.prototype={toString:function(){return JSON.stringify(this)}};var BankVaultContract=function(){LocalContractStorage.defineMapProperty(this,\"bankVault\",{parse:function(t){return new DepositeContent(t)},stringify:function(t){return t.toString()}})};BankVaultContract.prototype={init:function(){},save:function(t){var n=Blockchain.transaction.from,e=Blockchain.transaction.value,a=new BigNumber(Blockchain.block.height),r=this.bankVault.get(n);r\u0026\u0026(e=e.plus(r.balance));vari=new DepositeContent;i.balance=e,i.expiryHeight=a.plus(t),this.bankVault.put(n,i)},takeout:function(t){var n=Blockchain.transaction.from,e=new BigNumber(Blockchain.block.height),a=new BigNumber(t),r=this.bankVault.get(n);if(!r)throw new Error(\"No deposit before.\");if(e.lt(r.expiryHeight))throw new Error(\"Cant takeout before expiryHeight.\");if(a.gt(r.balance))throw new Error(\"Insufficient balance.\");if(0!=Blockchain.transfer(n,a))throw new Error(\"transfer failed.\");Event.Trigger(\"BankVault\",{Transfer:{from:Blockchain.transaction.to,to:n,value:a.toString()}}),r.balance=r.balance.sub(a),this.bankVault.put(n,r)},balanceOf:function(){var t=Blockchain.transaction.from;return this.bankVault.get(t)},monkas:function(){return\"MONKAS OOH OOH AHH AHH\"}},module.exports=BankVaultContract;"
}
api.sendTransaction("1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c", "1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c", "0", 7, 1000000, 2000000, contract)
/* RETURNED VALUE
{
"txhash": "0c791527888a8022f388d9dd072c79e0c7356860ce59fe182b5373942ef83504"
}
*/
The transaction receipt looks like:
{
"chainId": 100,
"from": "1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c",
"gas_limit": "2000000",
"gas_price": "1000000",
"hash": "f3a89c1e88a4fdaf8ce90c272dfa17b1a9371b1253bf6c02bc50e382c19c9283",
"nonce": "5",
"timestamp": "1518045154",
"to": "1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c",
"type": "binary",
"value": "0"
}
api.sendTransaction("1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c", "1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c", "0", 7, 1000000, 2000000, contract)
/* RETURNED VALUE
{
"contract_address:" <contract_address>,
"txhash": "0c791527888a8022f388d9dd072c79e0c7356860ce59fe182b5373942ef83504"
}
按照教程101 - 01启动挖矿,并已经将coin地址改成了自己的地址。
也像教程那样现实挖到新的区块,为什么钱包还是0NAS?是奖励太少还没有显示还是什么别的误区?
Hi!
So I followed steps described in installation tutorial, however I am unable to run make build.
When I run make build
, it gives me following response:
Any ideas how to solve this issue? Sorry if it is a dumb question, I don't have a whole lot experience with GO.
Thanks!
I'm trying to follow the this guide to deploy Neblus on my machine, however I met an error while trying to downloading go third party lib.
When I'm executing sudo make dep
Got an error:
dep ensure -v /path/to/workspace/src/github.com/nebulasio/go-nebulas is not within a known GOPATH/src make: *** [dep] Error 1
When I'm executing
echo $GOPATH
Result:
/path/to/workspace
I'm using a mac machine, and not very familiar with Go, so not sure if I'm filing the issue in the correct place. But I really need some help.
多参数调用时使用jsonarr比如"args":"[{"abc":"abc","123":"123"}]"
提示"error":"invalid character 'a' after object key:value pair"}
输入"[]"或"[{}]"是可以的
开放端口使用curl或者远程用chrome的rest http插件调用都没问题 跨域也没问题
但是浏览器实现的时候发送fetch请求,预检OPTIONS挂了,501 not implemented 服务器不支持OPTIONS请求,想了想这个是不是nebulas本身不支持呢?
nebulas的gas手续费是否可以免除?从根据账户余额来限制交易频率和影响矿工打包排序等方式来研究免除手续费的可能性,至少免除普通用户之间的转账手续费更有利于nebulas的推广和使用dapp的积极性,这也符合现实世界中银行之间转账免除手续费的趋势。
According the wiki from Introducing Smart Contract Storage ,
And How about a Array/List data structure support? If could be, many DApps will coming soon or later.
Thank you for a great tutorial
I am stuck on the creation block configuration part of the tutorial
I can't seem to find the seed.conf file under the go-nebulas/conf/default.
I have the genesis.conf and config.conf files
Please advise what steps I may have missed.
Thank you
Hi guys,
I'm a beginner of Nebulas, my friend invent me to join the 'incentive' plan, I've registered the account with his invent code, then I created my wallet on the Mainnet and try to deploy the contract, but I found that I haven't got any money (NAS) to pay this trade by GAS, so I thinks it's impossible to join the game for me...
Could you tell me what can I do next step?
Hi,
Love the project. Just trying to get TestNet configured properly and wanted a bit more clarity on the setup:
For the config ./neb
NAS dispatch,
token_distribution [
{
address: "1a263547d167c74cf4b8f9166cfa244de0481c514a45aa2c"
value: "10000000000000000000000"
},
{
address: "2fe3f9f51f9a05dd5f7c5329127f7c917917149b4e16b0b8"
value: "10000000000000000000000"
}
]
Mining machine's mining address, the reward will be send to a Coinbase address
coinbase: "eb31ad2d8a89a0ca6935c308d5425730430bc2d63f2573b8"
Node signature algorithm
signature_ciphers: ["ECC_SECP256K1"]
Mining machine's mining address
miner: "eb31ad2d8a89a0ca6935c308d5425730430bc2d63f2573b8"
Initial Token Distribution is described here
token_distribution [
{
address: "0b9cd051a6d7129ab44b17833c63fe4abead40c3714cde6d"
value: "10000000000000000000000000"
},
{
address: "4aa6312b10dd81f68eb62a90e234a48eb83c6b0e568b5eb8"
value: "10000000000000000000000000"
}
]
Love the project, just want to help. Thanks in advance.
Failed to open disk storage. dir=data.db err="IO error: While lock file: data.db/LOCK: Resource temporarily unavailable" file=main.go func=main.runNeb line=108
这个如何解决
withdraw: function(address, value) { value = new BigNumber(value); return Blockchain.transfer(address, value); }
window.postMessage({ "target": "contentscript", "data": { "to": 'n1g69oazeomw5tiw6WALoEpCRY1NMGEhf8u', "value": "0", "contract": { "function": "withdraw", "args": JSON.stringify(['n1Trqxc223GiSWKsmFDvDvD9qn6CMbrEEzk', 0.08]) } }, "method": "neb_sendTransaction" }, "*");
显示成功但并没有到账
运行 make build 错误如上图所示
我是从这里拉的代码
git clone https://github.com/nebulasio/go-nebulas.git
develop分支
"args":"{[\"name\":\"abc\",\"age\":\"13\"}]"这种提交以后会一直提示status是0
样例里只给了 [0]这种一个参数或者""没有参数的情况 希望demo能多讲一些
您好,智能合约能正常部署,{"gas_price":"1000000","gas_limit":"2000000","contract_address":"n1nVx7aVXouGW5UZKtf2tpi7wMS6StcYpSm","status":1,"gas_used":"22016"},status=1,但调用save()或takeout()方法时 总是报:{"error":"contract check failed"},请帮忙看看,谢谢~
wupandeMacBook-Pro:wupan wupan$ export GOPATH=/Users/wupan/Desktop/Workspace
wupandeMacBook-Pro:wupan wupan$ env
GOPATH=/Users/wupan/Desktop/Workspace
_=/usr/bin/env
error
sudo make build
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=373bc29bce8323e3960fae26e1072f9560f1b8e4 -X main.branch=master -X main.compileAt=date +%s
" -o ../../neb-373bc29bce8323e3960fae26e1072f9560f1b8e4accountcmd.go:25:2: cannot find package "github.com/nebulasio/go-nebulas/cmd/console" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/cmd/console (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/cmd/console (from $GOPATH)
accountcmd.go:26:2: cannot find package "github.com/nebulasio/go-nebulas/core" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/core (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/core (from $GOPATH)
configcmd.go:24:2: cannot find package "github.com/nebulasio/go-nebulas/neblet" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/neblet (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/neblet (from $GOPATH)
crashclient.go:31:2: cannot find package "github.com/nebulasio/go-nebulas/neblet/pb" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/neblet/pb (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/neblet/pb (from $GOPATH)
misccmd.go:26:2: cannot find package "github.com/nebulasio/go-nebulas/net" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/net (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/net (from $GOPATH)
networkcmd.go:25:2: cannot find package "github.com/nebulasio/go-nebulas/util" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/util (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/util (from $GOPATH)
crashclient.go:32:2: cannot find package "github.com/nebulasio/go-nebulas/util/logging" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/util/logging (from $GOROOT)
/Users/wupan/go/src/github.com/nebulasio/go-nebulas/util/logging (from $GOPATH)
crashclient.go:33:2: cannot find package "github.com/sirupsen/logrus" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/sirupsen/logrus (from $GOROOT)
/Users/wupan/go/src/github.com/sirupsen/logrus (from $GOPATH)
accountcmd.go:27:2: cannot find package "github.com/urfave/cli" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/urfave/cli (from $GOROOT)
/Users/wupan/go/src/github.com/urfave/cli (from $GOPATH)
I try to run nebulas testnet and after installing dep the instructions say that I run make dep
but there is no such a file.What can I do?
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.