CreditChain Forge
Forge Daemon
Use @creditchain/forged to connect a local EVM smart-contract
workspace to forge.creditchain.org.
Install
npm install -g @creditchain/forged
Connect A Folder
forged -s ./shared_project -u https://forge.creditchain.org
Without -s, forged shares the terminal's current directory.
For local development, use -u http://127.0.0.1:8080.
Update
npm install -g @creditchain/forged@latest
Options
-v, --version output the version number
-u, --forge-ide <url> URL of the Forge instance allowed to connect
--forge-ide <url> legacy alias for --forge-ide
-s, --shared-folder <path> Folder to share with Forge
-i, --install <name> install optional local tooling, such as slither
-r, --read-only treat the shared folder as read-only
Ports Usage
65520: local folder websocket listener.65522: Hardhat websocket listener.65523: Slither analysis websocket listener.65524: Truffle websocket listener.65525: Foundry websocket listener.
Safety
Only share project folders you trust, keep a backup of important work,
and do not expose the forged ports to the public internet. Use
--read-only when Forge should inspect a folder without writing to it.