Skip to content

Features trackingΒ #777

@thiagodeev

Description

@thiagodeev

An issue created to gather new feature ideas and tasks.

Tasks:

  • remove the checkForPending func(ref). Let the user get the error from the node
  • in the rpc/client.go, there's an error called errNotFound being used in the dos functions. It seems to be irrelevant. Let's remove it
  • remove the presets: - comments linter exclusion, to allow better code documentation
  • add marshalJSON() method with validation for all enums (don't allow wrong fields)
  • create a common function body for all account.BuildAnd... methods (they're very similar, let's try to unify the logic)
  • refactor the cairo version type to be Cairo0 and Cairo (ref, and this), and update account&paymaster to use it

Features:

  • new util to waitfortxnreceipt, separating it from the acc
  • improve the typedData pkg (make it work seamlessly with manually created TypedData(right now, it only works well if we unmarshal it from a JSON), a way to generate bindings for typed data from a JSON (?), improve the typing in general (using less 'any')
  • a new type for tip with several options, like starknet.js
  • account
    • make the cairo version an optional field when instantiating an Account, with Cairo 1 being the default
    • account integration with the paymaster features
    • get_balance() method for the account

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    πŸ”– To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions