@dsafe/sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

DSafe-SDK

Install

Pre-requisites

  1. NodeJS v16
  2. jq
  3. postgresql

Install Wheel

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ceramicstudio/wheel/main/wheel.sh | bash

Using yarn or npm

// using yarn
yarn add @dsafe/sdk

// using npm
npm install @dsafe/sdk

Build Locally

Clone

// clone using ssh
git clone git@github.com:daoism-systems/dSafe-SDK.git

// clone using https
git clone https://github.com/daoism-systems/dSafe-SDK.git

Build

// using yarn
yarn install

// using npm
npm install

Usage

Instantiate dSafe class

import DSafe from '@dsafe/sdk'

// instantiae
const dsafe = new DSafe()

Interact with Safe Client Gateway for routes that are not implemented yet

const apiRoute = '/about/'
const response: AxiosResponse = await dsafe.fetchLegacy('GET', apiRoute)

// ... do something with response

Docs:

  1. Technical Specification Document
  2. Grant Proposal

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.11latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.11
1.1.01
1.0.00
0.2.00
0.1.00
0.0.20
0.0.10

Package Sidebar

Install

npm i @dsafe/sdk

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

411 kB

Total Files

25

Last publish

Collaborators

  • codebuster22