FuelLabs / fuel-connectors

Home Page:https://connectors.fuel.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@fuels/connector

Collection of connectors for fuels SDK. This package enables users to use their wallets to sign transactions on Fuel Network.

Warning This project is under active development.

πŸ§‘β€πŸ’» Getting Started

Install

npm install fuels @fuels/connectors

Usage

import { Fuel } from "fuels";
import { FuelWalletConnector } from "@fuels/connectors";

const fuel = new Fuel({
  connectors: [
    new FuelWalletConnector(),
  ],
});

await fuel.selectConnector("Fuel Wallet");
const connection = await fuel.connect();
console.log(connection);

🚧 Development

Building the project

pnpm build

πŸ“œ License

This repo is licensed under the Apache-2.0 license. See LICENSE for more information.

About

https://connectors.fuel.network

License:Apache License 2.0


Languages

Language:TypeScript 90.4%Language:Sway 5.0%Language:JavaScript 4.6%