Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Great repo! Do you have any setup info? #1

Open
zpeach68 opened this issue Sep 6, 2022 · 2 comments
Open

Great repo! Do you have any setup info? #1

zpeach68 opened this issue Sep 6, 2022 · 2 comments

Comments

@zpeach68
Copy link

zpeach68 commented Sep 6, 2022

Hi this is a great repo. Do you have anymore setup information? I am new to Java. How do I run this project after I clone the repo and do you have any suggested dev tools to use for debugging? I already have some pricing info and would just need to interface with my pricing. Any other tips would be helpful like getting this running on the Coston test network.

@zpeach68
Copy link
Author

zpeach68 commented Sep 7, 2022

I have been able to get it going with some success. What is this field from the application.properties and where should I get this value from? data.provider.address

@mouradski
Copy link
Owner

mouradski commented Sep 7, 2022

yeh,

you need to set 3 properties :

web3.provider=ws://localhost:9650/ext/bc/C/ws (as a data provider you need your own node, so you'll use the node ws endpoint)
data.provider.address=0xF697EE9043be0b8904A14274bb71Db0C92026Ff4 (it's the flr/sgb address of the data provider, the same address people will use to signe the delegation trx)

private.key=0x24a32fbd84ef190c98dd21b3ce9e64299cc7b48ffde4c8842f6fed9f54a55720 (the private key to be able to sign submission/reveal trx)

then implement price provider logic for every symbol in package

https://github.com/mouradski/FtsoDataProviderExample/tree/main/src/main/java/dz/mouradski/ftso/submitter/service/price/impl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants