OrdConnect is a JavaScript library for interacting with wallet management and Bitcoin transactions.
You can install OrdConnect via npm or yarn:
npm install ordconnect
# or
yarn add ordconnect
import { WalletManager } from 'ord-connect';
send(amount: number, address: string, session: Session);
Session: {
cardinalAddress: string,
id: string,
ordinalAddress: string,
wallet: string,
} | null
signPsbt(params: Params)
Params: {
psbtBase64: string,
inputsToSign: [{
address: string,
signingIndexes: number[], // int array of indexes to sign
}],
broadcast: boolean,
}
All the Bitcoin-related functions available in the btckit library are also accessible through this library. Please refer to the btckit documentation for detailed information on these functions.
This project is licensed under the MIT License.
Contributions are welcome!
If you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.
OrdConnect is developed and maintained by Michael Shimeles.
Special thanks to the developers of the btckit library for their contributions and support.