-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #237 from bob-collective/chore-update-readme
Chore: updated sdk README
- Loading branch information
Showing
3 changed files
with
2,556 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,18 +7,64 @@ The BOB SDK helps you interact with BOB and Bitcoin, including Ordinals, BRC20, | |
- [Website](https://www.gobob.xyz/) | ||
- [Docs](https://docs.gobob.xyz/) | ||
|
||
## Installation | ||
## Using the sdk in your project | ||
Install `@gobob/bob-sdk` with your package manager of choice. | ||
|
||
```shell | ||
pnpm i @bob-sdk/sdk | ||
pnpm i @gobob/bob-sdk | ||
``` | ||
|
||
## Test | ||
or | ||
```shell | ||
yarn add @gobob/bob-sdk | ||
``` | ||
|
||
or | ||
```shell | ||
npm i @gobob/bob-sdk | ||
``` | ||
|
||
## Building BOB sdk | ||
|
||
### Clone the repository | ||
Clone the repository and change to the `sdk` subfolder. | ||
```shell | ||
git clone [email protected]:bob-collective/bob.git | ||
cd bob/sdk | ||
``` | ||
|
||
### Install dependencies | ||
We use `pnpm` in the examples below. But the steps below should also work when using `yarn` or `npm` instead. | ||
|
||
```shell | ||
pnpm i | ||
``` | ||
|
||
### Build | ||
```shell | ||
pnpm build | ||
``` | ||
|
||
### Test | ||
|
||
```shell | ||
pnpm test | ||
``` | ||
|
||
## Contributing | ||
|
||
BOB is an open-source project. We welcome contributions of all sorts. There are many ways to help, from reporting issues, contributing code, and helping us improve our community. | ||
BOB is an open-source project. We welcome contributions of all sorts. There are many ways to help, from reporting issues, contributing code, and helping us improve our community. | ||
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. | ||
|
||
1. Set up git so you can [sign your commits](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) (Alternative link: [GitHub: Signing commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)) | ||
Unsigned PRs cannot be merged, so do not skip this step. | ||
2. Fork the Project | ||
3. Create your Feature Branch (git checkout -b yourname/AmazingFeature) | ||
4. Commit your Changes (git commit -m 'Add some AmazingFeature') | ||
5. Push to the Branch (git push origin yourname/AmazingFeature) | ||
6. Open a Pull Request with a description of feature you are adding | ||
|
||
If you are searching for a place to start or would like to discuss features, reach out to us: | ||
|
||
- [Discord](https://discord.com/invite/gobob) | ||
|
Oops, something went wrong.