Giter Club home page Giter Club logo

Comments (6)

adonnini avatar adonnini commented on August 17, 2024

Hi,

I could be wrong but the syntax you are using does not work any more.

For example. .addAsset does not exist any longer. The call now is .addAssets and the parameters are different.

I hope this helps.

Thanks,

Alex Donnini

from java-bigchaindb-driver.

dominic-healid avatar dominic-healid commented on August 17, 2024

@adonnini thanks for the reply.

Actually, that's what I've been using, so I even tried the .addAsset it doesn't work too.

It's really weird as it was working fine before.

from java-bigchaindb-driver.

adonnini avatar adonnini commented on August 17, 2024

Hi,

This code works for me

transaction2 = BigchainDbTransactionBuilder.init()
		.addAssets(assetDataString, String.class)
		.addMetaData("what - "+"My third BigchainDB transaction")
		.addMetaData("this - "+"My 3rd metadata BigchainDB transaction")
		.operation(Operations.CREATE)
		.buildAndSign((EdDSAPublicKey) keyPair.getPublic(), (EdDSAPrivateKey) keyPair.getPrivate())
.sendTransaction();

Thanks,

Alex Donnini

from java-bigchaindb-driver.

dominic-healid avatar dominic-healid commented on August 17, 2024

Not working on me. Do you have the transaction id and are you able to access it on test.bigchaindb.com

executing the code works fine but fetching it on the test host is not working. It says not found

from java-bigchaindb-driver.

adonnini avatar adonnini commented on August 17, 2024

Hi,
I seem to be able to retrieve the transaction id. Did you check your application statistics on testnet.bigchaindb.com?
Thanks,
Alex Donnini

from java-bigchaindb-driver.

dominic-healid avatar dominic-healid commented on August 17, 2024

Hi @adonnini,

I think I found the issue, it must be on the version of the driver that I'm using. I'm using an older version, I haven't confirm if that really is the issue but I'm quite certain that it is.

I'll upgrade and I'll let you know. Thanks for responding.

Dominic

from java-bigchaindb-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.