CosmWasm / docs

https://cosmwasm-docs.vercel.app
Apache License 2.0
6 stars 3 forks source link

Entrypoints - Additional Info #58

Closed chipshort closed 3 months ago

chipshort commented 3 months ago

I think the entrypoints page would be a good place to explain what DepsMut, Env and MessageInfo are for. We don't need to go into a lot of detail, but a short sentence and a docs.rs link for each would be nice.

The docs should also explain that the InstantiateMsg / ExecuteMsg / ... are defined by the user and how to do that (e.g. explain #[cw_serde]). A similar explanation for the returned error type would be good. Right now all of the examples use StdResult, but you're totally free to use any type that implements ToString.