The easiest way to interface with Spec is through our CLI.
- Node.js >= 16
- npm >= 8
$ npm install -g @spec.dev/cli
$ spec login
Reach out personally or on Twitter to request early access to an account.
When your Spec account was created, you were also most likely given write permissions to a particular namespace — this is usually either the name of a protocol or simply your username. Within that namespace exists a default project, just called spec
.
Go ahead and set this as your current project locally:
$ spec use project allo/spec
Going forward, if you are ever unsure about who your current user is or what your current project is, the following commands will answer those questions, respectively:
$ spec show user
$ spec show project
Add your contracts into the Spec ecosystem as Contract Groups.