7.0.0 • Published 1 year ago

@rockooor/sail v7.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

sail ⛵️

NPM License Build Status Contributors

A React library for Solana account management and transaction handling.

Setup

Run:

yarn add @saberhq/sail react-query

Usage

You will need to first set up React Query.

Then:

import { SailProvider } from "@saberhq/sail";
import { QueryClient, QueryClientProvider } from "react-query";

const queryClient = new QueryClient();

const MyApp: React.FC = () => (
  <QueryClientProvider client={queryClient}>
    <SailProvider initialState={{ onTxSend, onSailError }}>
      {/* stuff */}
    </SailProvider>
  </QueryClientProvider>
);

Examples

The most prominent open source example is the Friktion frontend.

You can view a list of open source GitHub projects that use Sail here.

License

Sail is licensed under the Apache License, Version 2.0.

5.0.11

1 year ago

5.0.12

1 year ago

5.0.13

1 year ago

5.0.14

1 year ago

6.0.0

1 year ago

5.0.15

1 year ago

5.0.16

1 year ago

7.0.0

1 year ago

5.0.9

1 year ago

5.0.8

1 year ago

5.0.7

2 years ago

5.0.6

2 years ago

5.0.5

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago