Computing Service provides functionality for deploying and interaction with secure execution environments (SEE). Under the hood it utilizes the Phala parachain and this is done by deploying a custom-built smart contract on Phala and calling its methods which are then executed in SEE.
Please read Development and Debug and Test documentation. These instructions will help you set up the development environment and run the microservice locally.
Environment variables that have to be set:
/************************************************************
* COMPUTING - Apillon Computing Service
************************************************************/
/**
* function name
*/
COMPUTING_FUNCTION_NAME: string;
COMPUTING_FUNCTION_NAME_TEST: string;
/**
* COMPUTING dev server port
*/
COMPUTING_SOCKET_PORT: number;
COMPUTING_SOCKET_PORT_TEST: number;
/**
* COMPUTING Database config
*/
COMPUTING_MYSQL_HOST: string;
COMPUTING_MYSQL_PORT: number;
COMPUTING_MYSQL_USER: string;
COMPUTING_MYSQL_PASSWORD: string;
COMPUTING_MYSQL_DEPLOY_USER: string;
COMPUTING_MYSQL_DEPLOY_PASSWORD: string;
COMPUTING_MYSQL_DATABASE: string;
// TEST
COMPUTING_MYSQL_HOST_TEST: string;
COMPUTING_MYSQL_PORT_TEST: number;
COMPUTING_MYSQL_USER_TEST: string;
COMPUTING_MYSQL_PASSWORD_TEST: string;
COMPUTING_MYSQL_DATABASE_TEST: string;
/**
* NFT workers config
*/
COMPUTING_AWS_WORKER_SQS_URL: string;
COMPUTING_AWS_WORKER_LAMBDA_NAME: string;
BLOCKCHAIN_SECRETS: string;
/**
* KMS
*/
COMPUTING_KMS_KEY_ID: string;
/**
* Acurast
*/
ACURAST_IPFS_LAMBDA_URL: string;
ACURAST_GATEWAY_URL: string;The schrodinger's NFT service/tool was previously powered by the computing microservice and Phala. This functionality is now deprecated and will be removed in a future release. All API calls to this service will return a 410 Gone status code.
Please read Deployment documentation.
Copyright (c) Apillon - all rights reserved