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

Bazaar - Add back end to bazaar's mainpage #1198

Closed
azackmatoff opened this issue May 12, 2023 · 3 comments
Closed

Bazaar - Add back end to bazaar's mainpage #1198

azackmatoff opened this issue May 12, 2023 · 3 comments
Assignees

Comments

@azackmatoff
Copy link
Collaborator

Add back end to #1190

@clangenb
Copy link
Member

clangenb commented Jun 1, 2023

Not everything is possible yet. We can:

  • Get all businesses of a community
  • Get all offerings of a community

We can't get: all oferings of a business: encointer/pallets#318

@clangenb
Copy link
Member

clangenb commented Jun 2, 2023

I have updated the gesell rpc node, which now returns the following:

curl http://gesell.encointer.org:9933 -H "Content-Type:application/json;charset=utf-8" -d '{ "jsonrpc":"2.0", "id":1, "method":"encointer_bazaarGetBusinesses", "params": [{ "geohash": "0x7530716a39", "digest": "0x8fa5e673" }] }'

{"jsonrpc":"2.0","result":[{"controller":"5EXDFzxPembiCPqcxHkmXHjcGEf2FvL6QK22yNs2QxFiDKgS","businessData":{"url":"QmTTHFZ7roMRZD619Tn8mAttAmn2CnAh8NUXR4VocRvcfh","lastOid":1}},{"controller":"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY","businessData":{"url":"QmWYjfdsScf2mBxKgGbBq822FzRNkB5nG6wjK2NKLw1Ewz","lastOid":2}}],"id":1}%

@clangenb
Copy link
Member

Closed by #1265

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