If you plan to add a new Abax Improvement Proposal (AIP) follow this guide:
-
Fork this repository by clicking 'Fork' in the top right.
-
Install the project dependencies:
npm install
. Note the repository works withNode v16
. -
Create a new aip folder with a following name
proposals/[PROPOSAL_NUMBER]_[Topic]/[Topic].md
. The topic shall follow snake case convention. For example, if you are creating a new AIP for a new feature, you would create a folderproposals/05_some_new_aip/
and a fileproposals/05_some_new_aip/some_new_aip.md
following the aip template. -
If the proposal requires Proposal contract, the source code for Proposal Contract can be collocated with the AIP in the
proposals/
directory. The Proposal contract should be contained in a folder inside of the AIP's proposal directory. For example,proposals/05_some_new_aip/proposal_[Topic]
. -
Each Proposal that involves a Smart Contract shall contain a link to subscan to a deployed version of the Proposal SC build using verifiable option.
-
Submit a Pull Request (PR) to the main.
If your AIP requires images, the image files should be included in a subdirectory of the assets
folder for that AIP as follow: proposals/[PROPOSAL_NUMBER]_[Topic]/assets
(for AIP some_new_aip it would be proposals/05_some_new_aip/assets
). When linking to an image in the AIP, you must use the full url for the raw content, for example https://raw.githubusercontent.com/AbaxFinance/abax-proposals/main/proposals/05_some_new_aip/assets/image.png
.