TheDocumentation Index
Fetch the complete documentation index at: https://docs.solidscipt.zoracle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
init command scaffolds everything you need to start writing TypeScript smart contracts. It creates a ready-to-run project with a sample Counter contract, a SolidScript config file, TypeScript settings, and package scripts wired up for the full build-to-deploy workflow. Run it once in a new or empty directory to get started immediately.
Arguments
| Argument | Description |
|---|---|
[dir] | Directory to scaffold into. Use . for the current directory, or provide a name to create a new subdirectory. Defaults to the current directory. |
What gets created
| File | Purpose |
|---|---|
contracts/Counter.ts | Starter contract in TypeScript |
solidscript.config.ts | Project-level SolidScript configuration |
tsconfig.json | TypeScript compiler settings |
.gitignore | Sensible defaults for generated artifacts |
| Package scripts | build, validate, verify, compile, and deploy wired up and ready to run |