This is a sample project of Artela Aspect.
.
├── README.md
├── asconfig.json
├── aspect <-- Your aspect code resides here
│ └── index.ts
├── contracts <-- Place your smart contracts here
├── scripts <-- Utility scripts, including deploying, binding and etc.
│ ├── aspect-deploy.cjs
│ ├── bind.cjs
│ ├── contract-call.cjs
│ └── contract-deploy.cjs
...
npm install
npm run account:create
there will be private Key when completed
- ./privateKey.txt
To acquire Test Tokens for your testing needs : https://docs.artela.network/develop/resources/faucet
npm run contract:build
## rm -rf ./build/contract/Attack_storage.json
## npm run aspect:gen
npm run aspect:build
cd test
node *.test.js