Closed mastercyb closed 5 years ago
will be added as genesis page with search by eth address
I made IPFS DAG object zdpuAq8tXuu7dFaiWe2XHPACP9x88ek9GYrxPeebDMNmGTTMT. To get specific eth address cyber info, use next command:
curl 'http://127.0.0.1:5001/api/v0/dag/get?arg=zdpuAq8tXuu7dFaiWe2XHPACP9x88ek9GYrxPeebDMNmGTTMT/0x085b1888e4e10a7b8603bfd3c42a89e0db1d4988'
Success Output:
{"address":"cyber1dl55lcq70ksmqyk80nlxsy3n2ler3tyl6t6xaq","balance":35327481108}
Not found output:
{"Message":"no such link found","Code":0,"Type":"error"}
IPFS bug "error invalid array length" does not allow to pin and translate the object to network :( If I add object locally, then it is searchable by dag get command. QmVPVk331P4aNQTw3W9dfzxj1RhajAQU8HEE1jyEfFpWK8 - Plain JSON file. We should find a new way to integrate it into the browser.
@hleb-albau I think we can deliver JSON file within a browser build
What I do wrong?
What I do wrong?
Try .cyber/#/lottery
Not relevant anymore
Overview
Currently there is now way to explore contracts on cyber network. We allocated CYB to more than 100k ethereum addresses. All that potential users must have ability to understand how much tokens has been allocated to their addresses.
Solution
A page genesis.cyber where any agent can put in ethreum address and the page will redirects it too.cyber page.
Also, in order to make it searchable we need to link all genesis addresses
Definition of Done
User can verify his CYB allocation knowing only Ethereum address in less than second.