One-liner to auto-install & run (& dev) a fdevc runnable project for Enclave template powered by fdevc
Docs: Enclave Hello World
Other template: enclave-crisp-template
curl -fsSL https://raw.githubusercontent.com/philogicae/enclave-template/main/install_and_run | bash📁 enclave-template
├── install_and_run # Auto-install script
├── launch.sh # Container launcher
├── 📁 project # Git project mount
└── 📁 fdevc_setup # Setup scripts mount
└── runnable.sh # Main container script
install_and_run- Installation script that ensuresfdevcis available, clones this repository, and runslaunch.sh.launch.sh- Helper script to launch a container usingfdevcwith predefined settings. Edit the configuration variables at the top to customize ports, image, persistence, etc.fdevc_setup/runnable.sh- The main script that runs inside the container (complete Enclave setup).project/- The mounted target folder for git cloned project
Required: enclave-template is running (quick install script or ran ./launch.sh directly)
Network Name: Anvil (or Localhost)
RPC URL: http://127.0.0.1:8545 (or any other forwarded port you configured)
Chain ID: 31337
Currency Symbol: ETH
Block Explorer URL: (Optional) Leave blank- For testing, add any Hardhat pre-funded account to your browser wallet extension:
Account #0: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 (10000 ETH)
Private Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
Account #1: 0x70997970c51812dc3a010c7d01b50e0d17dc79c8 (10000 ETH)
Private Key: 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
Account #2: 0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc (10000 ETH)
Private Key: 0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a-
Try out Enclave template at http://localhost:3000 (or any other forwarded port you configured)
-
Open
enclave-templatein your IDE and start coding!
