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

[Feature] Smartcontract #81

Open
4 of 5 tasks
padi-dev-hoangpa opened this issue Mar 30, 2022 · 2 comments · May be fixed by #82
Open
4 of 5 tasks

[Feature] Smartcontract #81

padi-dev-hoangpa opened this issue Mar 30, 2022 · 2 comments · May be fixed by #82
Assignees

Comments

@padi-dev-hoangpa
Copy link
Contributor

padi-dev-hoangpa commented Mar 30, 2022

  • Popular Contracts
  • Wasm codes
  • Contracts
  • Wasm code detail
  • Contract detail
@padi-dev-hoangpa padi-dev-hoangpa self-assigned this Mar 30, 2022
@padi-dev-hoangpa
Copy link
Contributor Author

padi-dev-hoangpa commented Mar 30, 2022

Contract detail Init Messages: get from txhash

@padi-dev-hoangpa
Copy link
Contributor Author

padi-dev-hoangpa commented Mar 30, 2022

Contract detail state:
BE:
https://api.juno.omniflix.co/wasm/contract/juno168ctmpyppk90d34p3jjy658zf5a5l3w8wk35wht6ccqj4mr0yv8s4j5awr/state
FE: "@cosmjs/cosmwasm-stargate"
const result = await cosmwasmClient.getAllContractState("juno168ctmpyppk90d34p3jjy658zf5a5l3w8wk35wht6ccqj4mr0yv8s4j5awr")
const key = Buffer.from(result.models[0].key).toString()
const value = Buffer.from(result.models[0].value).toString()
console.log(key, value);

@padi-dev-hoangpa padi-dev-hoangpa linked a pull request Apr 22, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant