O

OneStark Js Library

A single api/library to connect to multiple starknet libraries and services

O

OneStark Js Library

A single api/library to connect to multiple starknet libraries and services

The problem OneStark Js Library solves

StarknetJs libraries and services are hard to integrate. We have seen that if we need to connect to contracts we need to go through multiple libraries and services. To solve this issue we have created onestark js library which allows you to have all things need to connect to starknet at one place. Things that are available in starknetjs library as of version 1

  • Provider
  • Signer
  • Utils
  • Wallet Connect
  • Swap using jediswap
  • NFT data using reddio

The package is live on npm https://www.npmjs.com/package/onestarkjs
You can find documentation for the same here https://theblockchainchief.gitbook.io/onestarkjs-library/

Note : Some things need specific js versions. We will migrate whole src code to typescript for further development. This is a test prototype.

Challenges we ran into

  • Difficult to parse and understand field types and paramters in jediswap contracts
  • It was time taking to understand different services and group them in a good manner

Discussion