Giter Club home page Giter Club logo

ord-connect's Introduction

ord-connect

Preview

Introduction

ord-connect is a React component library that allows you to easily integrate Bitcoin Ordinals & Inscriptions via Sado Protocol Connections with your decentralized application (dApp). We stand as the pioneering walletkit to support ordinal-aware transactions, ensuring you never inadvertently spend a rare ordinal!

Wallet Feature Support

Wallet Ordinal-safety Inscription-safety
Unisat
Xverse
Magic Eden
Leather
OKX

Quick Start

Just two simple steps:

  1. Add dependency:

    pnpm install @ordzaar/ord-connect
  2. Import ord-connect into your dApp:

    import { Network, OrdConnectProvider, OrdConnectKit } from "@ordzaar/ord-connect";
    
    export default function YourReactComponent() {
      return (
        <OrdConnectProvider initialNetwork={Network.TESTNET}>
          <OrdConnectKit />
        </OrdConnectProvider>
      );
    }

Contribute

The following instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You'll need to have pnpm installed on your system. If it's not yet installed, you can get it via npm using:

npm install -g pnpm

Development

To develop ord-connect, navigate to the ord-connect directory, install the necessary packages and serve the project:

cd packages/ord-connect
pnpm install
pnpm dev

The sample playground component is located at packages/ord-connect/src/main.tsx.

Changes made to the code will be reflected immediately.

Local Integration Testing

For inter-repo local testing:

  1. Link the global package to the local project:

    pnpm link packages/ord-connect --global
  2. cd to any repo of your choosing (e.g., ordzaar).

  3. The remaining steps are identical to Quick Start.

Happy coding! For any issues or feature requests, please raise an issue in the GitHub repository.

ord-connect's People

Contributors

renovate[bot] avatar jordankzf avatar thedoublejay avatar nanosync avatar kyleleow avatar kevzzsk avatar veralygit avatar danadi7 avatar g9000 avatar kainanaina avatar joshuac817 avatar nattadex avatar joundy avatar

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.