Coder Social home page Coder Social logo

soul-guru / soul-contracter Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 17.86 MB

SOUL CE is a set of tools for running custom scripts in an isolated environment

TypeScript 17.61% JavaScript 81.96% Shell 0.23% Dockerfile 0.19%
javascript nodejs isolated-vm

soul-contracter's Introduction

Soul Contract Engine

Size Limit logo by Anton Lovchikov

SOUL CE is a set of tools for running custom scripts in an isolated environment. Completely isolated environment. Soul CE can understand contracts in vanilla JavaScript. The contract execution environment is higher in the hierarchy than SOUL Essent, since without CE the raison d'être of Essent is lost

NodeJS


Call principles ☝️

  • CE dependent project, stores information in database, creates memory area, short term, long term, V8 memory
  • CE is obliged to run any contract as isolated as possible
  • CE is required to report everything that happens in the system

Get started

Install as binary
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

nvm install 18
nvm use 18

# Install this code
git clone https://github.com/soul-guru/soul-contracter

cd soul-contracter

npm install

ts-node src/main.ts serve --vmec --vmec-up-start-up --http --use-example-contract

But, why nvm? Answer: your system can be ARM/AMD and nvm can install node special for your system architecture.

Install though Docker
docker pull masloffvs/soul-ce:main

soul-contracter's People

Contributors

masloffvs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.