A minimal starter to quickly get started with iExec DataProtector and Vue.js.
This project is a simple starter that allows you to:
- Connect a Web3 wallet
- Protect data with iExec DataProtector
- Grant access to protected data
- Discover basic iExec features
Included features:
- ✅ Wallet connection with Reown AppKit (WalletConnect)
- ✅ Data protection with iExec DataProtector
- ✅ Grant access functionality for protected data
- ✅ Multi-chain support (iExec Sidechain, Arbitrum)
- ✅ Simple and clean user interface
- ✅ Built with Vue.js 3, TypeScript, Vite, and Tailwind CSS
- Clone the project:
git clone https://github.com/iExecBlockchainComputing/iexec-vuejs-starter.git
cd iexec-vuejs-starter
- Install dependencies:
npm install
-
Create your Reown project:
- Go to https://cloud.reown.com/app
- Create a project and choose AppKit → Vue.js
-
Configure environment variables:
# Create a .env file
VITE_REOWN_PROJECT_ID=your_reown_project_id
- Start the project:
npm run dev
Your app will be available at http://localhost:5173
iExec Bellecour only works with these wallets:
- MetaMask
- Coinbase Wallet
- Brave Wallet
- WalletConnect
- Zerion
❌ Other wallets may not work with iExec SDKs on Bellecour.
src/
├── App.vue # Main component with iExec logic
├── main.ts # Vue app entry point
├── style.css # Global styles with Tailwind
├── components/
│ └── WelcomeBlock.vue # Welcome component
└── config/
├── wagmiConfig.ts # Wagmi/Reown configuration
└── wagmiNetworks.ts # Supported blockchain networks
- Connection: Use Reown AppKit to connect your wallet
- Protection: Enter data name and content to protect
- iExec: Data is encrypted and stored via DataProtector
- Result: You receive the address and metadata of protected data
- Select Network: Choose the appropriate blockchain network
- Configure Access: Set protected data address, authorized user, and app
- Authorization: Grant specific permissions for data access
- Result: Receive confirmation of granted access with details
- iExec Sidechain (Bellecour) - Chain ID: 134
- Arbitrum One - Chain ID: 42161
- Arbitrum Sepolia - Chain ID: 421614
This starter is intentionally minimal. You can extend it with:
- More iExec features (compute, marketplace, Web3Mail)
- Advanced data management interface
- Protected dataset marketplace
- Integration with other iExec services
- Custom iExec applications
- Data monetization features
- iExec Documentation
- iExec DataProtector API
- Reown AppKit Documentation
- Vue.js Documentation
- Vite Documentation
# Development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
Happy coding with iExec! 🔒✨