question

Upvotes
Accepted
1 0 0 0

ChainCode java dependency?

Hi!

I am trying the example of ChainCode, following https://developers.refinitiv.com/en/article-catalog/article/simple-chain-objects-ema-part-2


For this piece,

FlatChain theChain = new FlatChain.Builder()


.withOmmConsumer(ommConsumer)


.withServiceName("IDN_RDF")


.withChainName("0#.FTSE")


.build();


FlatChain is not found. So how to get the dependency of chain code, java version?


#technologyema-apichain-ric
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
22.4k 59 14 21

Hi @Java,

Did you download all of the source code from the GitHub repo. There is a FlatChain class there.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.