Basic information
About jb-hook-deploy-ui
Deploy custom Juicebox hooks from browser. Compile Solidity, deploy contracts, verify on explorers, and attach to projects. Works with Claude-generated hooks.
jb-hook-deploy-ui is an agent skill listed in the AddMCP.net directory, published by openclaw. Source code is hosted on github.com.
Overview
What is jb-hook-deploy-ui?
name: jb-hook-deploy-ui description: Deploy custom Juicebox hooks from browser. Compile Solidity, deploy contracts, verify on explorers, and attach to projects. Works with Claude-generated hooks.
Juicebox V5 Hook Deployment UI
Deploy custom hooks directly from the browser. Compile Solidity code, deploy to any chain, verify on block explorers, and attach to your Juicebox project.
Overview
1. Paste or load Solidity source code
2. Compile in browser using solc.js
3. Deploy via connected wallet
4. Optionally verify on Etherscan/Basescan/etc.
5. Attach hook to project rulesetComplete Hook Deploy UI Template
Deploy Custom Hook
Compile, deploy, and attach hooks to your Juicebox project
Source Code
Compiler Output
Target Chain
Deploy Contract
Deploy HookVerify Contract (Optional)
Etherscan API Key VerifyAttach to Project
Project ID Hook Type Pay Hook Cash Out Hook Both Queue Ruleset with HookCompilation API Endpoint
For browser compilation, you'll need a server-side endpoint:
// pages/api/compile.ts
import solc from 'solc';
export default async function handler(req, res) {
if (req.method !== 'POST') return res.status(405).json({ error: 'Method not allowed' });
const { source } = req.body;
const input = {
language: 'Solidity',
sources: { 'contract.sol': { content: source } },
settings: { outputSelection: { '*': { '*': ['abi', 'evm.bytecode'] } }, optimizer: { enabled: true, runs: 200 } }
};
const output = JSON.parse(solc.compile(JSON.stringify(input), { import: findImports }));
res.json(output);
}
function findImports(path) {
// Resolve from GitHub/npm
return { error: 'Import not found: ' + path };
}Import Resolution
const IMPORT_MAPPINGS = {
'@bananapus/core/': 'https://raw.githubusercontent.com/Bananapus/nana-core-v5/main/',
'@bananapus/721-hook/': 'https://raw.githubusercontent.com/Bananapus/nana-721-hook-v5/main/',
'@openzeppelin/contracts/': 'https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v5.0.0/contracts/'
};Related Skills
/jb-pay-hook- Generate pay hook Solidity code/jb-cash-out-hook- Generate cash out hook Solidity code/jb-split-hook- Generate split hook Solidity code/jb-interact-ui- Queue rulesets with hooks
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In