@sorosan-sdk/core
v2.0.1
Published
A library for working with Stellar's Soroban
Downloads
10
Maintainers
Readme
Sorosan SDK
Introducing the Sorosan SDK, your gateway to a seamless Stellar network development experience. With the Sorosan SDK, we're empowering developers to harness the full potential of Stellar with ease. Keep an eye on our updates for exciting features and releases as we embark on this journey together. Star and watch to stay in the loop!
Install
To use as a module in a Node.js project
- Install it using npm:
npm install --save @sorosan-sdk/core
- require/import it in your JavaScript/Typescript:
import {
SorosanSDK,
MAINNET_DETAILS,
TESTNET_DETAILS
} from '@sorosan-sdk/core'
const sdk: SorosanSDK = SorosanSDK(TESTNET_DETAILS) // Currently only support testnet
const contractSDK = sdk.contract; // To access other SDK
To use as a module locally
- Clone this repo
git clone https://github.com/sorosan/sorosan-sdk
- Install packages and build
cd sorosan-sdk
npm i
npm run build
This should generate a dist/
where you can use SorosanSDK()
like in node.js
Testing
npm run test
Documentation
Documentation source for repo can be found here