#transaction #rpc-client #near #high #nonce #key #high-level

near-fetch

High level client library for transacting to the NEAR network

20 releases (6 breaking)

0.6.0 Oct 9, 2024
0.5.0 Jul 8, 2024
0.2.0 Dec 1, 2023
0.1.0 Nov 30, 2023

#696 in Magic Beans

Download history 3/week @ 2024-06-28 215/week @ 2024-07-05 70/week @ 2024-07-12 80/week @ 2024-07-19 29/week @ 2024-07-26 33/week @ 2024-08-02 7/week @ 2024-08-09 23/week @ 2024-08-16 15/week @ 2024-08-23 153/week @ 2024-08-30 50/week @ 2024-09-06 55/week @ 2024-09-13 73/week @ 2024-09-20 15/week @ 2024-09-27 185/week @ 2024-10-04 95/week @ 2024-10-11

372 downloads per month

MIT/Apache

80KB
1.5K SLoC

NEAR Fetch

High level rust client library for sending transactions into the NEAR chain. This is a WIP library so use at your own risk and can likely be deprecated.

Features

  • Retrying transactions with exponential backoff.
  • When sending transactions, the nonces are cached and invalidated locally as to avoid querying for them everytime we need to make a transaction.
  • KeyRotatingSigner for switching between keys on each sign point.

NOTE: this is currently not a complete replacement for near-jsonrpc-client-rs as this is more for transactions and not every single possible RPC method that you can make.

Dependencies

~24–36MB
~543K SLoC