Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

advanca/advanca

Repository files navigation

Advanca is now Automata.

The development is moved to https://github.com/automata-network/automata. Come and join us there!


Advanca web3-grant3-badge

A privacy-preserving general-purpose compute/storage infrastructure for Dapps.

Getting Started

To quickly see Advanca running, try it out with Docker Compose locally.

Note: To run the following demo successfully, make sure your machine supports SGX and have Intel SGX Linux Driver installed. If not, you can try the previous v0.2.0 version with SGX simulation mode.

git clone https://github.com/advanca/advanca.git
cd advanca
docker-compose up --no-start

Start the node and aesm first. It will run in the background.

docker-compose start node aesm

Bring up the worker. Logs will be printed.

docker-compose up worker

In a new terminal session, bring up the client.

docker-compose up client

Finally, stop and clean up.

docker-compose stop
docker-compose rm

Documentation

To understand how Advanca works, read our docs.

Changelog

v0.5 (latest)

v0.5.1

v0.5.0

  • Advanca Worker v0.5

    • update to substrate v2.0.0-rc5
    • swap to serde_json from serde_cbor
    • add sr25519 support in enclave
    • import types from crate advanca-node-primitives in advanca/advanca-node
    • support payment upon task completion
    • substrate-api v0.3.0
  • Advanca Node v0.4

    • update to substrate v2.0.0-rc5
    • add CI for unit test using Github actions
    • separate runtime types into a standalone crate advanca-node-primitives
    • support payment upon task completion
    • add verification of the alive evidence submitted by worker
  • Advanca Attestation Service v0.3

    • change the serialization from serde_cbor to serde_json
    • use advanca/advanca-sgx-helper v0.4.0
  • Advanca SGX Helper v0.4

    • support sr25519
    • clean up Cargo.toml and update package-level features
  • Demo Documentation v0.5

v0.4

  • Advanca Worker v0.4

  • Advanca Node v0.2

    • extend Task to include task-specific user and worker signed pubkeys
    • extend Task to include task evidence for worker
    • adds new Task state, Done
    • Tasks are no longer removed from chain after abort/completion
  • Advanca Attestation Service v0.2

    • add trusted time service
    • updated grpcio-rust to v0.5.1, uses futures 0.3 instead of 0.1
    • restructured how protobuf is being defined for both trusted and untrusted domains enabling unified usage
  • Advanca SGX Helper v0.3

    • unified crypto operations for both trusted(enclave) and untrusted(app) domains
    • utilize Intel's crypto library
    • adds data structure for accounting service(AliveEvidence)
  • Demo Documentation v0.4

v0.3

v0.2

v0.1

Acknowledgements

This project is sponsored by Web3 Foundation Grants Program.

License

Apache 2.0