Skip to content

philogicae/enclave-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enclave-template

One-liner to auto-install & run (& dev) a fdevc runnable project for Enclave template powered by fdevc

Curl Git Docker Python License: MIT Ask DeepWiki

Docs: Enclave Hello World

Other template: enclave-crisp-template

Quick Install

curl -fsSL https://raw.githubusercontent.com/philogicae/enclave-template/main/install_and_run | bash

banner

Project Structure

📁 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 ensures fdevc is available, clones this repository, and runs launch.sh.
  • launch.sh - Helper script to launch a container using fdevc with 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

Usage

Required: enclave-template is running (quick install script or ran ./launch.sh directly)

  1. Add Anvil (Hardhat Local Network) to your browser wallet extension (e.g. MetaMask, Rabby, etc):
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
  1. 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
  1. Try out Enclave template at http://localhost:3000 (or any other forwarded port you configured)

  2. Open enclave-template in your IDE and start coding!

About

One-liner to auto-install & run (& dev) gnosisguild/enclave template in <5min

Topics

Resources

Stars

Watchers

Forks

Languages