Dapple
EVM contract system developer multitool
Install / Use
/learn @dapphub/DappleREADME
ATTENTION: Dapple has been deprecated in favor of a new tool called Dapp. Please use that instead.
Dapple is a Solidity developer multitool designed to manage the growing complexity of interconnected smart contract systems.
Its core functionality encompasses three main areas:
- Package management
- Contract building
- Deployment scripting
These concepts are related in a way unique to the smart contract ecosystem, due to each blockchain's universal singleton nature.
The central data model for Dapple is the dappfile, whose definition
will normally reference IPFS objects and Ethereum contract addresses.
Installation
The normal way to install Dapple is through npm:
$ npm install -g dapple
$ dapple --help
You can read about detailed system specific installation on the documentation.
Basic usage
Use dapple init to generate a project skeleton:
mkdir foo;
cd foo;
dapple init
By default, build/ is where the output of dapple build gets put,
and contracts/ is where Dapple looks for your contract source files.
Both of these are configured in your dappfile and can be overridden.
Now try writing a contract and a test (see Dapple test harness docs):
$ vim contracts/dapp.sol
$ vim contracts/dapp_test.sol
$ dapple test
Finally, try building your project:
$ dapple build
By default, dapple build builds the entire contracts/ tree, and
emits the following:
- cached build objects
classes.json— a list of type definitionsjs_module.js— a JavaScript module which wrapsclasses.jsonand addsContractobjects instantiated fromweb3.jsfor each object in thedappfile
Example packages
- Dappsys — a contract system framework (Nexus's "standard library")
- Feedbase — a simple paid feed app
- stringutils — string manipulation library
- RanDAOPlus - Experimental Ethereum RNG based on PoW
More information
Not yet documented
- Aliasing and imports
- Environments and object linking
- Ignore/add
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

