https://github.com/ask-lang/ask-template
A template for creating an Ask! contract project.
https://github.com/ask-lang/ask-template
Last synced: about 1 year ago
JSON representation
A template for creating an Ask! contract project.
- Host: GitHub
- URL: https://github.com/ask-lang/ask-template
- Owner: ask-lang
- License: mit
- Created: 2022-08-12T14:33:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T14:20:15.000Z (over 3 years ago)
- Last Synced: 2023-03-04T00:53:24.019Z (over 3 years ago)
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ask-template
A template for creating an Ask! contract project.
## Usage
- Build the template contract
```bash
yarn build flipper.ts
```
- Build the template contract and print transform information
```bash
yarn debug flipper.ts
```
## Project Structure
The main `Ask!` project structure is as follows:
```log
ask-template
├── asconfig.json (assemblyscript config)
├── askconfig.json (ask-lang config)
├── build (build targets, configurable, see asconfig.json and askconfig.json)
│ ├── false
│ ├── flipper.optimized.wasm (Ask! contract wasm binary)
│ ├── flipper.optimized.wat (Ask! contract wasm text)
│ └── metadata.json (Ask! contract metadata)
├── flipper.ts (Ask! contract code)
├── index.d.ts (typescript definition file, used for syntax and code hinting)
├── LICENSE
├── node_modules
├── package.json (npm package config)
├── README.md
├── tsconfig.json (typescript config)
└── yarn.lock
```
## License
[MIT](./LICENSE)