# AIN Improvement Proposals (AIPs)

| ID      | Title                                            | Summary                                                                                                                                     | Link                                                                                                                                           | Status                                                                                                        |
| ------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| AIP-001 | Numbered, Ordered, and Unordered Nonces          | In addition to the numbered nonce (Ethereum-style), introduce two more nonce types: ordered and unordered                                   | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-001_Numbered_ordered_and_unordered_nonces-20210512.pdf)              | Accepted (see [Nonce section](https://docs.ainetwork.ai/ain-blockchain/ai-network-design/transactions/nonce)) |
| AIP-002 | Micropayment Protocol for Low-Level Services     | Support micropayments between human-to-machine or machine-to-machine for low latency and reasonable transaction fee                         | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-002_Micropayment_Protocol_for_Low-Level_Services-20210512.pdf)       | In Review                                                                                                     |
| AIP-003 | Blockchain Charging Policy                       | How to charge blockchain maintenance costs                                                                                                  | -                                                                                                                                              | **Deprecated (See AIP-015 & 016 instead)**                                                                    |
| AIP-004 | Blockchain Apps Meta-data                        | Allow apps meta-data to be added to the blockchain and integrated with Insight (or other blockchain viewers) for search engine optimization | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-004_Blockchain_apps_meta-data-20210512.pdf)                          | Accepted                                                                                                      |
| AIP-005 | Token Staking Service                            | Provide a service for token staking                                                                                                         | -                                                                                                                                              | **Deprecated (See AIP-19 instead)**                                                                           |
| AIP-006 | State Version Control                            | Introduce an efficient state version control for block versions of Streamlet Consensus algorithm                                            | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-006_State_Version_Control-20210512.pdf)                              | Accepted                                                                                                      |
| AIP-007 | Provable Blockchain States                       | Provide proof of blockchain states                                                                                                          | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-007_Provable_Blockchain_States-20210512.pdf)                         | Accepted                                                                                                      |
| AIP-008 | Sharding                                         | Define minimal requirements for a scalable blockchain and provide a design proposal                                                         | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-008_Sharding-20210512.pdf)                                           | Accepted                                                                                                      |
| AIP-009 | Cross-Shard Token Swap                           | Provide a design of cross-shard transactions for a narrow scenario: Cross-shard token swap transactions (check-in and check-out)            | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-009_Cross-Shard_Token_Swap-20210512.pdf)                             | Accepted                                                                                                      |
| AIP-010 | Simple Payment Service                           | Provide a service for payments                                                                                                              | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-010_Simple_Payment_Service-20210512.pdf)                             | Accepted                                                                                                      |
| AIP-011 | Service Account & Transfer                       | Provide new features for 1) service accounts (like business bank account) and 2) money transfer from/to them                                | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-011_Service_Account_and_Transfer-20210512.pdf)                       | Accepted                                                                                                      |
| AIP-012 | Escrow Service                                   | Provide a design of escrow service to reserve tokens for multilateral transactions in other services (e.g. payment)                         | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-012_Escrow_Service-20210512.pdf)                                     | Accepted                                                                                                      |
| AIP-013 | P2P Protocol Version Handling                    | Handle p2p protocol version compatibility so that blockchain nodes can be upgraded minimizing service discontinuation                       | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-013_P2P_Protocol_Version_Handling-20210512.pdf)                      | Accepted                                                                                                      |
| AIP-014 | Critical Resources of Blockchain Services        | Define, track, and constraint AIN Blockchain’s critical resources available for the blockchain service users                                | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-014_Critical_Resources_of_Blockchain_Services-20210512.pdf)          | Accepted                                                                                                      |
| AIP-015 | Gas Fee Charging                                 | Introduce Gas Fee charging protocol Version 1 of AIN Blockchain                                                                             | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-015_Gas_Fee_Charging-20210512.pdf)                                   | Accepted                                                                                                      |
| AIP-016 | Gas Fee Redistribution                           | Introduce Gas Fee redistribution protocol Version 1 of AIN Blockchain                                                                       | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-016_Gas_Fee_Redistribution_Protocol-20210512.pdf)                    | Accepted                                                                                                      |
| AIP-017 | Billing Accounts                                 | Introduce billing accounts for supporting convenient payment of gas fees                                                                    | TBA                                                                                                                                            | WIP                                                                                                           |
| AIP-018 | Consistency & Reusability of Blockchain Services | List up all services available so far and seek improvement ideas for their consistency and reusability                                      | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-018_Consistency_and_reusability_of_blockchain_services-20210512.pdf) | Accepted                                                                                                      |
| AIP-019 | Staking Service                                  | Provide a design of staking service to be used for validator staking and general-purpose staking within apps                                | [Link](https://github.com/ainblockchain/ain-docs/blob/master/AIP_docs/AIP-019_Staking_Service-20210512.pdf)                                    | Accepted                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ainetwork.ai/proposal-documents/ain-improvement-proposals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
