Artifact Content
Not logged in

Artifact 23928fbcfbe59d27b15e7b48aaf461ce021c69da:


Getting started

git clone https://github.com/maidsafe/safe_app_nodejs.git
cd safe_app_nodejs
yarn
const safe = require('@maidsafe/safe-node-app');
const appInfo = {
    id     : 'net.maidsafe.example',
    name   : 'Example SAFE app',
    vendor : 'MaidSafe.net Ltd'
};
const asyncFn = async () => {
    const app = await safe.{@link initialiseApp}(appInfo);
};

Recommended to build basic Electron app, while referencing this documentation.

Our web API exposed in SAFE Browser, nearly identical to this library with just one variation, is an easy way to start exploring operations. Recommended to either follow the web API tutorial or to explore with our web API playground.