java-bigchaindb-driver
java-bigchaindb-driver copied to clipboard
Problem with examples
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