Skip to content

Problem with examples #66

@adonnini

Description

@adonnini

Hi,

If I am not mistaken, the code in the examples, e.g.

Transaction transaction = BigchainDbTransactionBuilder.init()
.addAsset("firstname", "John")
.addAsset("lastname", "Smith")
.addMetaData("what", "My first BigchainDB transaction")
.addMetaData("this", "My 1st metadata BigchainDB transaction")
.operation(Operations.CREATE)
.buildOnly((EdDSAPublicKey) keyPair.getPublic(), (EdDSAPrivateKey) keyPair.getPrivate());

does not work any longer as BigchainDbTransactionBuilder does not have an addAsset method any longer.

I also think that the information in test.properties needs to be updated.

Could you please provide update examples and updated test.properties?

Thanks,

Alex Donnini

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