java-bigchaindb-driver icon indicating copy to clipboard operation
java-bigchaindb-driver copied to clipboard

Problem with examples

Open adonnini opened this issue 7 years ago • 0 comments

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

adonnini avatar Feb 21 '18 13:02 adonnini