Skip to content

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

@qq364390162

Description

@qq364390162

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状态,不能成功是为什么

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions