
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@taqueria/plugin-archetype
Advanced tools
The Archetype plugin provides a task to compile Archetype smart contracts (.arl) to Michelson .tz files.
For more information, please see our documentation for the Archetype plugin
To install the Archetype plugin on a Taqueria project, navigate to the project folder and run:
taq install @taqueria/plugin-archetype
:page_with_curl: Note
You can override the Archetype version used by the plugin by creating the environment variable
TAQ_ARCHETYPE_IMAGEand setting it to your desired Ligo Docker image
No additional configuration is available
The Archetype plugin exposes a taq compile task in Taqueria which can target a single Archetype contract in the contracts folder and compile it to a Michelson .tz file output to the artifacts folder
The Archetype plugin also exposes a contract template via the taq create archetypeContract <contractName> task. This task will create a new Archetype contract in the contracts directory and insert archetype contract boilerplate for you
The Archetype plugin's taq compile task requires at least one argument. The basic syntax for the task is taq compile <contractName>
Running the compile task with no arguments will result in no Archetype smart contracts being compiled to Michelson files in the artifacts folder
:warning: CAUTION
The
compiletask is implemented by more than one compiler plugin (Archetype, LIGO, SmartPy). If more than one of these plugins are installed on a project, you need to use the--plugin archetypeflag to specify the particular Archetype compiler. For exampletaq compile --plugin archetype
There are no additional options available for this plugin
taq compile TaskThe compile task is used for compiling Archetype smart contracts to Michelson and the task has the following structure:
taq compile <contractName>
The task takes a filename as a required argument. If no filename is provided, Taqueria will compile no Archetype files from the contracts directory
| attribute | value |
|---|---|
| task | 'compile' |
| command | 'compile < contractName >' |
| aliases | ['c', 'compile-archetype'] |
create archetypeContract TaskThe create archetypeContract task is used to create a new Archetype contract from a template. Running this task will create a new Archetype smart contract in the contracts directory
taq create archetypeContract <contractName>
The task takes a filename and a required positional argument. The filename must end with .arl
| attribute | value |
|---|---|
| task | 'create archetypeContract' |
| command | 'create archetypeContract < contractName >' |
This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM
Docker is used under the hood to provide a self contained environment for Archetype to prevent the need for it to be installed on the user's local machine
FAQs
A taqueria plugin for compiling Archetype smart contracts
We found that @taqueria/plugin-archetype demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.