This commit is contained in:
SaraJane
2025-12-30 13:07:28 +00:00
commit 93e3f09667
95 changed files with 20233 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"vitest.explorer",
"editorconfig.editorconfig",
"vsls-contrib.codetour",
"algorandfoundation.algokit-avm-vscode-debugger"
]
}

View File

@ -0,0 +1,58 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Build & Deploy contracts",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "deploy"],
"cwd": "${workspaceFolder}/smart_contracts",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "node_modules/**"],
"preLaunchTask": "Build contracts (+ LocalNet)",
"env": {
"ALGOD_TOKEN": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ALGOD_SERVER": "http://localhost",
"ALGOD_PORT": "4001",
"INDEXER_TOKEN": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"INDEXER_SERVER": "http://localhost",
"INDEXER_PORT": "8980"
}
},
{
"name": "Deploy contracts",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "deploy"],
"cwd": "${workspaceFolder}/smart_contracts",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "node_modules/**"],
"env": {
"ALGOD_TOKEN": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ALGOD_SERVER": "http://localhost",
"ALGOD_PORT": "4001",
"INDEXER_TOKEN": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"INDEXER_SERVER": "http://localhost",
"INDEXER_PORT": "8980"
}
},
{
"name": "Build contracts",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "build"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "node_modules/**"],
},
{
"type": "avm",
"request": "launch",
"name": "Debug AVM executions",
"simulateTraceFile": "${workspaceFolder}/${command:PickSimulateTraceFile}",
"stopOnEntry": true
}
]
}

View File

@ -0,0 +1,19 @@
{
"files.eol": "\n",
"algorandTypeScript.languageServer.enable": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"jest.enable": false,
"files.associations": {
".github/**/*.yml": "github-actions-workflow"
},
"eslint.enable": true,
"eslint.validate": ["typescript"],
"eslint.options": {
"extensions": [".ts"]
},
"eslint.workingDirectories": ["./smart_contracts"]
}

View File

@ -0,0 +1,69 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build contracts",
"type": "npm",
"script": "build",
"path": "${workspaceFolder}",
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "Build contracts (+ LocalNet)",
"type": "npm",
"script": "build",
"path": "${workspaceFolder}",
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "Start AlgoKit LocalNet",
"problemMatcher": []
},
{
"label": "Start AlgoKit LocalNet",
"command": "algokit",
"args": ["localnet", "start"],
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Stop AlgoKit LocalNet",
"command": "algokit",
"args": ["localnet", "stop"],
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Reset AlgoKit LocalNet",
"command": "algokit",
"args": ["localnet", "reset"],
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Analyze TEAL contracts with AlgoKit Tealer integration",
"command": "algokit",
"args": ["task", "analyze", "${workspaceFolder}/.algokit", "--recursive", "--force"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
}
]
}