Giter VIP home page Giter VIP logo

gno-js-client's Issues

Are there RPC endpoints for test3.gno.land?

There would be a lot of interesting experimentations (leading to many use cases) if that was the case,
but for now I can only use this locally.

That lib is sooo where web3 is. It needs some endpoints!

Add a warning in the docs for the `height` param not supported yet in Provider methods

In the documentation, the Provider methods (getRenderOutput , getFunctionSignatures , evaluateExpression , getFileContent ) all take an optional height param.

There are 2 problems with it:

  • The doc isn't clear about the default value if not provided:

If omitted, the latest height is used (optional, default 0)
So is it the latest height or 0 ??

missing error info in evaluateExpression

currently, evaluateExpression throws a "constant" error here if the query failed, where the gnokey cli returns the actual go error

this is a pain for dev where you have to run a modified client or the cli to know the actual error message

feat: type-safe contract interaction methods

Add the ability to load modules that provide type-safe methods (arguments and return types) corresponding to exposed contract methods to interact with contracts in a type-safe and controlled manner while enjoying dev perks such as coe-completion type lookups etc.

Common TypeScript Interface for Gno.land

Introduction

To enhance interoperability and simplify the development of dApps on the Gno.land, I propose the creation of a common TypeScript interface. This interface will standardize the methods, properties and responses required to interact with the Gno.land, ensuring that different implementations can be easily integrated and maintained.

This proposal is similar to what viem and abitype offers to Ethereum. The ultimate goal is to create a toolbox of Typescript like wevm

Objectives

  • Standardization: Provide a consistent interface for various packages to interact with the Gno.land.
  • Interoperability: Ensure that different projects can easily switch between or use multiple implementations.
  • Ease of Use: Simplify the development process for dApp developers by providing a clear and unified API.

Proposed Common Interface

The common interface will define the essential methods and properties that any Gno.land blockchain client should implement.

PR to be Created

To facilitate detailed discussion, I propose creating an issue for each method as outlined below:

References

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.