Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (24 loc) · 1.01 KB

docs-home.md

File metadata and controls

27 lines (24 loc) · 1.01 KB

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.