This guide runs gocoon as a standalone COCOON client.
make build./dist/gocoon init --dir ./gocoon-dataThe command writes:
gocoon-data/wallet.jsongocoon-data/client-config.jsongocoon-data/ton-config.json
wallet.json contains secrets. Do not commit or share it.
Send the recommended TON amount to the printed fund_address, then wait for
confirmation:
./dist/gocoon wallet wait-funded \
--wallet ./gocoon-data/wallet.json \
--config ./gocoon-data/client-config.json./dist/gocoon run \
--config ./gocoon-data/client-config.json \
--runner ./dist/gocoon-runnerIn another terminal:
./dist/gocoon models
./dist/gocoon chat --model Qwen/Qwen3-32B --prompt "Reply in one short sentence."Close the client channel:
./dist/gocoon channel closeAfter funds return to the Cocoon wallet, withdraw them to a regular TON wallet:
./dist/gocoon wallet withdraw \
--wallet ./gocoon-data/wallet.json \
--config ./gocoon-data/client-config.json \
--to <TON_ADDRESS>