Skip to content

nosana-ci/nosana-sdk

Repository files navigation

Nosana Typescript SDK

A client package for running Nosana jobs.

What is the Nosana Typescript SDK?

The Nosana Typescript SDK contains everything you need to run CI/CD jobs on the Nosana Network.

Install

npm install --save @nosana/sdk

# or install with yarn
yarn add @nosana/sdk

Usage in Node / Client application

import { Client } from "@nosana/sdk";

const nosana = new Client({
  solana: {
    network: 'devnet',
  },
});

// ipfs service
nosana.ipfs...
// secrets service
nosana.secrets...
// solana service
nosana.solana...

Installing via <script> tag

<script src="https://unpkg.com/@nosana/sdk"></script>

<script>
const nosana = new Nosana.Client({
  solana: {
    network: 'devnet',
  },
});
</script>

Documentation

Please visit our documentation for a full list of commands and examples.