Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add web3js templates #121

Merged
merged 6 commits into from
Feb 16, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/commands/create/groups/scripting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ import type { GenericTemplate } from "../index.js";

type Template = GenericTemplate & {
framework: "Node.js";
ethereumFramework: "Ethers v5" | "Ethers v6" | "viem";
ethereumFramework: "Ethers v5" | "Ethers v6" | "viem" | "web3js";
JackHamer09 marked this conversation as resolved.
Show resolved Hide resolved
};

export const templates: Template[] = [
{
name: "Web3js - Node.js",
value: "node_web3js",
framework: "Node.js",
ethereumFramework: "web3js",
JackHamer09 marked this conversation as resolved.
Show resolved Hide resolved
path: "templates/nodejs/web3js",
git: "https://github.com/matter-labs/zksync-scripting-templates",
},
{
name: "Viem - Node.js",
value: "node_viem",
Expand Down
Loading