A scaffolding tool for quickly generating smart contract projects for the Archethic Public Blockchain using AssemblyScript. This tool streamlines the setup process, enabling developers to focus on building and deploying smart contracts.
- Node.js
- npm
To generate a new project, run the following command:
npm create @archethicjs/ae-contract-as
This will create a new folder named my-smart-contract with the necessary files and structure.
my-smart-contract/
├── assembly/
│ ├── index.ts # Main contract code
│ ├── tsconfig.json # Typescript config for AssemblyScript
├── tests
├── index.test.ts # Main test file
├── asconfig.json # AssemblyScript configuration
├── package.json # Dependencies and project scripts
├── README.md # Documentation for the project
└── tsconfig.json # TypeScript configuration
Thank you for considering to help out with the source code. We welcome contributions from anyone and are grateful for even the smallest of improvement.
Please to follow this workflow:
- Fork it!
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
AGPL