Skip to content
64ixPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

TrustFlow 🔒⚡

TrustFlow combines the low-code automation power of n8n with the secure and verifiable execution of iExec's Trusted Execution Environments (TEE). It enables users to protect their workflow logic, process confidential data, and even monetize their automation as protected digital assets.

TrustFlow Demo DoraHacks Project

🌟 Overview

TrustFlow offers a new standard for zero-trust automation, preserving privacy and enabling audit capabilities, bridging the gap between Web2 automation tools and the decentralized Web3 ecosystem.

🎯 Key Features

  • 🔐 Workflow Protection: Secure your automation logic in TEE environments
  • 🛡️ Data Privacy: Process sensitive data securely
  • 🔍 Auditability: Verifiable and transparent execution
  • 🌐 Web Interface: Intuitive user interface for protected data creation

🏗️ Project Architecture

This repository contains several components that work together to create the TrustFlow ecosystem:

iapp-n8n/
├── n8n-iapp/                    # iExec application to run n8n in a TEE
├── protectedData_generator/     # Node.js script to convert n8n workflows into protected data
├── front/                       # Frontend interface for protected data creation
└── n8n-nodes-starter/          # Template for creating dataprotector nodes in n8n

📦 Components

1. n8n-iapp 🚀

iExec application that enables running n8n inside a Trusted Execution Environment (TEE).

Technologies:

  • Node.js
  • @iexec/dataprotector-deserializer
  • Figlet
  • n8n

2. protectedData_generator 🔧

Simple Node.js script to convert an n8n workflow and its credentials into protected data.

Technologies:

  • Node.js
  • @iexec/dataprotector

3. front 🎨

Modern frontend interface to create protected data intuitively.

Technologies:

  • React 18
  • TypeScript
  • Vite
  • @iexec/dataprotector
  • ESLint + Prettier

4. n8n-nodes-starter 🔌

Template for creating dataprotector nodes in n8n as community nodes.

Technologies:

  • TypeScript
  • n8n-workflow
  • @iexec/dataprotector
  • Gulp

🚀 Installation and Usage

Prerequisites

  • Node.js >= 20.15
  • npm or yarn
  • iExec account (for TEE usage)

Installation

  1. Clone the repository
git clone <repository-url>
cd iapp-n8n
  1. Install dependencies for each component
# Frontend
cd front
npm install

# Protected Data Generator
cd ../protectedData_generator
npm install

# n8n Nodes Starter
cd ../n8n-nodes-starter
npm install

# n8n iApp
cd ../n8n-iapp
npm install

Usage

Frontend

cd front
npm run dev

Protected Data Generator

cd protectedData_generator
node script.js

n8n Nodes Starter

cd n8n-nodes-starter
npm run build

🔐 Security

TrustFlow uses the most advanced security technologies:

  • Trusted Execution Environments (TEE) from iExec
  • Data Protection with @iexec/dataprotector
  • Verifiable and transparent execution
  • Privacy-preserved data processing

🔗 Useful Links


TrustFlow - Revolutionizing automation with Web3 security 🔒⚡

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages