Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testnet 上的智能合约如何部署上去? #220

Open
qq364390162 opened this issue Sep 7, 2018 · 1 comment
Open

testnet 上的智能合约如何部署上去? #220

qq364390162 opened this issue Sep 7, 2018 · 1 comment

Comments

@qq364390162
Copy link

payloadType = Transaction.PayloadType.DEPLOY;
payload = new TransactionDeployPayload("js", "var demo = 1;", "").toBytes();
// deploy from == to
tx = new Transaction(chainID, from, from, value, nonce, payloadType, payload, gasPrice, gasLimit);
manager.signTransaction(tx,passphrase);

使用java版本sdk里面的测试demo部署智能合约,一直是pending状态,不能成功是为什么

@weiht12
Copy link

weiht12 commented Dec 5, 2018

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/
(英文);https://wiki.nebulas.io/zh_CN/latest/ (中文)
Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English) ; https://wiki.nebulas.io/zh_CN/latest/ (Chinese)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants