https://github.com/archethic-foundation/create-ae-contract-as
Scaffolding for Archethic Public Blockchain Smart Contract (AssemblyScript)
https://github.com/archethic-foundation/create-ae-contract-as
Last synced: 14 days ago
JSON representation
Scaffolding for Archethic Public Blockchain Smart Contract (AssemblyScript)
- Host: GitHub
- URL: https://github.com/archethic-foundation/create-ae-contract-as
- Owner: archethic-foundation
- License: mit
- Created: 2024-09-24T12:33:33.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-03-26T16:14:38.000Z (2 months ago)
- Last Synced: 2025-03-26T17:27:20.055Z (2 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-ae-contract-as
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.
## Getting Started
### Prerequisites
- Node.js
- npm### Usage
To generate a new project, run the following command:
```bash
npm create @archethicjs/ae-contract-as
```This will create a new folder named my-smart-contract with the necessary files and structure.
### Project 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
```## **Contribution**
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:
1. Fork it!
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request## **Licence**
AGPL