-
npm.
npm install hordesconnect
-
cdn.
<script src='https://cdn.jsdelivr.net/npm/hordesconnect@latest/dist/bundle.min.js'></script>
-
import.
import HordesConnect from 'hordesconnect';
-
initialize.
HordesConnect.initialize({ app: 'Ordinals Test App' });
-
methods.
/* get address */ let address = HordesConnect.getAddress(); /* sign transaction */ let signTransactionRes = await HordesConnect.signTransaction({ message: 'Sign Transaction', base64Psbt: base64Psbt, broadcast: false }); if( signTransactionRes.error ) { throw new Error(signTransactionRes.error); } else { // broadcast == true ? signTransactionRes.txid : signTransactionRes.signedPsbt }
To download the app on your iOS device, please follow the link below to access it on Apple:
For Android users, you can download the app by following the link below:
Thank you for visiting our GitHub repository! We are currently working on providing comprehensive documentation to help you better understand and work with our project. The documentation will be available soon, so please stay tuned for updates.
In the meantime, if you have a website or app working with ordinals and are interested in joining our program, we would love to hear from you! Please fill out the form linked below, and a member of our team will get in touch with you as soon as possible.
Join the Program - Contact Form
We appreciate your patience and look forward to collaborating with you!
We welcome contributions to the project. If you have any questions or suggestions, feel free to open an issue or submit a pull request. We are excited to work with you and build a better project together.
This project is licensed under the MIT License.