Giter Site home page Giter Site logo

paraspell / xcm-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 1.23 MB

LightSpell⚡️: API utilizing XCM-SDK to get you blazing fast ⚡️ XCM calls (Currently supporting 50 Parachains)

Home Page: https://paraspell.github.io/docs/api/g-started.html

License: MIT License

JavaScript 1.72% TypeScript 74.17% HTML 7.19% Vue 15.89% CSS 1.03%
api blockchain hrmp kusama parachains polkadot sdk xcm xcmp

xcm-api's Introduction

xcm-api's People

Contributors

dudo50 avatar michaeldev5 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

xcm-api's Issues

Some Asset endpoints will change

A bug was found where certain assets would not work with our endpoints

eg: assets containing / in their name DOT/text

This will be fixed in the upcoming update, so Playground must also be set to support these changes.

3 asset endpoints will now contain query parameters

Find free analytic tool

Find a free analytics tool to analyze API usage to extract the following data:

  • Different endpoints API request usage
  • Specific token analysis (to analyze malicious behaviour from accounts that requested more API requests per minute)
  • Overall API request count

The analytics tool must not collect any user data.

Add wallet address validation

Add wallet address validation just like in XCM SDK.

Current output:
Error 500

Expected output:
Error message: "Wallet address you entered is incorrect"

Memory Leak and Incomplete Instance Destruction with Repeated /x-transfer HTTP API calls

When our HTTP API /x-transfer endpoint is subjected to a high volume of persistent requests, the WsProvider from the Polkadot JS API is created repeatedly, leading to memory leaks. Even after calling the .disconnect() method, the instance isn't completely destroyed.

Steps to Reproduce:

  1. Trigger a substantial number of continuous requests to our HTTP API endpoint /x-transfer.
  2. Observe the creation of multiple WsProvider instances.
  3. Execute .disconnect() but notice that memory isn't freed as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.