
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@blockxai/camp-codegen
Advanced tools
JavaScript/TypeScript SDK for Camp Codegen AI → Compile → Deploy API (parity with Python SDK)
JavaScript/TypeScript SDK for Camp Codegen AI → Compile → Deploy API. Parity with Python SDK in acad_sdk/.
https://acadcodegen-production.up.railway.appX-API-Key: <key>npm i @blockxai/camp-codegen
Node 18+ is required (native fetch).
import { AcadClient } from "@blockxai/camp-codegen";
const client = new AcadClient();
const jobId = await client.start_pipeline_auto("ERC721 with minting");
const final = await client.wait_for_completion(jobId, { streamLogs: true });
console.log("Final:", final);
const sources = await client.get_sources(jobId);
ACAD_API_KEYACAD_AUTH_HEADER (default: X-API-Key)ACAD_BASE_URL (default: production Railway)ACAD_DEFAULT_NETWORK (default: basecamp)ACAD_DEFAULT_OWNER (default: wallet from Python)ACAD_MAX_ITERS (default: 5)ACAD_DEFAULT_FILENAME: Default Solidity filename (default: AIGenerated.sol)All can be overridden via constructor options in code.
This package ships a CLI with parity to the Python CLI. After install, you get two commands: camp and acad.
Set ACAD_API_KEY in your environment.
Examples:
# Start pipeline (auto network + defaults)
camp pipeline:start --prompt "ERC721 with minting"
# Start pipeline with options
camp pipeline:start --prompt "ERC20" --network basecamp --maxIters 5 --filename Token.sol --arg 1000000
# Show job status
camp job:status <jobId>
# Stream logs while waiting for completion
camp job:wait <jobId> --stream --timeout 900 --interval 2
# Get artifacts
camp artifacts <jobId> --include all
# Deploy ERC20
camp erc20:deploy --name Token --symbol TKN --supply 1000000 --network basecamp --owner 0x...
# AI helpers
camp ai:generate --prompt "Write a SafeMath library"
camp ai:fix --code "..." --errors "Type error ..."
camp ai:compile --filename Foo.sol --code "..."
If you installed locally (e.g., in a monorepo), you can run:
npm run cli -- <args>
Methods mirror Python SDK:
start_pipeline, start_pipeline_autoget_job_status, get_job_logs, wait_for_completionget_artifacts, get_sources, get_abis, get_scriptsdeploy_erc20ai_generate, ai_fix, ai_compilesummarize_failure# inside camp-codegen-js/
npm install
npm run build
Outputs ESM to dist/.
FAQs
Camp Codegen CLI & SDK — AI-powered smart contract generation with verification, security auditing, and compliance checking
The npm package @blockxai/camp-codegen receives a total of 3 weekly downloads. As such, @blockxai/camp-codegen popularity was classified as not popular.
We found that @blockxai/camp-codegen demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.