Skip to content

iExecBlockchainComputing/iexec-vuejs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ iExec Vue.js Starter - Decentralized Data Protection

A minimal starter to quickly get started with iExec DataProtector and Vue.js.


πŸ“‹ About

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

πŸ› οΈ Quick Start

  1. Clone the project:
git clone https://github.com/iExecBlockchainComputing/iexec-vuejs-starter.git
cd iexec-vuejs-starter
  1. Install dependencies:
npm install
  1. Create your Reown project:

  2. Configure environment variables:

# Create a .env file
VITE_REOWN_PROJECT_ID=your_reown_project_id
  1. Start the project:
npm run dev

Your app will be available at http://localhost:5173


🧩 Compatible Wallets

iExec Bellecour only works with these wallets:

  • MetaMask
  • Coinbase Wallet
  • Brave Wallet
  • WalletConnect
  • Zerion

❌ Other wallets may not work with iExec SDKs on Bellecour.


πŸ“ Project Structure

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

πŸ” How It Works

Data Protection

  1. Connection: Use Reown AppKit to connect your wallet
  2. Protection: Enter data name and content to protect
  3. iExec: Data is encrypted and stored via DataProtector
  4. Result: You receive the address and metadata of protected data

Grant Access

  1. Select Network: Choose the appropriate blockchain network
  2. Configure Access: Set protected data address, authorized user, and app
  3. Authorization: Grant specific permissions for data access
  4. Result: Receive confirmation of granted access with details

🌐 Supported Networks

  • iExec Sidechain (Bellecour) - Chain ID: 134
  • Arbitrum One - Chain ID: 42161
  • Arbitrum Sepolia - Chain ID: 421614

πŸš€ Next Steps

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

πŸ“š Resources


πŸ”§ Development

# Development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Happy coding with iExec! πŸ”’βœ¨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors