Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelshimeles/ordconnect
An Ordinals Wallet Manager. Open-source and ready to use!
https://github.com/michaelshimeles/ordconnect
bitcoin open-source ordinals ordinals-nft
Last synced: about 4 hours ago
JSON representation
An Ordinals Wallet Manager. Open-source and ready to use!
- Host: GitHub
- URL: https://github.com/michaelshimeles/ordconnect
- Owner: michaelshimeles
- Created: 2023-09-05T22:58:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-17T17:25:28.000Z (about 1 year ago)
- Last Synced: 2024-11-16T20:09:25.945Z (3 days ago)
- Topics: bitcoin, open-source, ordinals, ordinals-nft
- Language: TypeScript
- Homepage: https://ordconnect.vercel.app
- Size: 253 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OrdConnect
OrdConnect is a JavaScript library for interacting with wallet management and Bitcoin transactions.
## Installation
You can install OrdConnect via npm or yarn:
```bash
npm install ordconnect
# or
yarn add ordconnect
```
# Usage## Get Wallet Manager
import { WalletManager } from 'ord-connect';## Sending Bitcoin (BTC)
send(amount: number, address: string, session: Session);```
Session: {
cardinalAddress: string,
id: string,
ordinalAddress: string,
wallet: string,
} | null
```## Signing PSBTs
signPsbt(params: Params)```
Params: {
psbtBase64: string,
inputsToSign: [{
address: string,
signingIndexes: number[], // int array of indexes to sign
}],
broadcast: boolean,
}
```## Bitcoin Kit Functions
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.## License
This project is licensed under the MIT License.## Contributing
Contributions are welcome!## Issues
If you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.## Credits
OrdConnect is developed and maintained by Michael Shimeles.## Acknowledgments
Special thanks to the developers of the btckit library for their contributions and support.