Skip to content

Commit

Permalink
Update entry-points.md
Browse files Browse the repository at this point in the history
  • Loading branch information
costa2400 authored Mar 4, 2024
1 parent 2077981 commit 638add6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/basics/entry-points.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ In CosmWasm, the concept of an entry point is fundamental to the operation of sm

Entry points in CosmWasm smart contracts are defined functions the blockchain calls in response to various actions, such as a contract's deployment, message execution, or information requests. The primary entry points are:

1. **[Instantiate](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#instantiate)**
2. **[Execute](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#execute)**
3. **[Query](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#query)**
1. **[Instantiate]**
2. **[Execute]**
3. **[Query]**

Each entry point serves a specific purpose in the contract's lifecycle and interaction with the blockchain.

Expand Down Expand Up @@ -75,4 +75,4 @@ When defining these entry points in CosmWasm, the **`#[entry_point]`** attribute

### **Conclusion**

Understanding and implementing entry points are critical for developing smart contracts in CosmWasm. These functions enable the contract to interact seamlessly with the blockchain, ensuring it can be initialized, executed, and queried as intended. By following the guidelines outlined in this chapter, developers can create efficient, secure, and functional smart contracts for the CosmWasm ecosystem.
Understanding and implementing entry points are critical for developing smart contracts in CosmWasm. These functions enable the contract to interact seamlessly with the blockchain, ensuring it can be initialized, executed, and queried as intended. By following the guidelines outlined in this chapter, developers can create efficient, secure, and functional smart contracts for the CosmWasm ecosystem.

0 comments on commit 638add6

Please sign in to comment.