Skip to content

Commit

Permalink
ref: readme and .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
fricoben committed Feb 4, 2025
1 parent 3bb30c2 commit a4c8472
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Bitcoin RPC credentials
BITCOIN_RPC_URL="http://localhost:8332"
BITCOIN_RPC_USER="your-rpc-username"
BITCOIN_RPC_PASS="your-rpc-password"

# Starknet provider configuration
STARKNET_PROVIDER_URL="your-starknet-provider-url"
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,26 @@ npm install bitcoin-on-starknet

## Usage

Before using the library, make sure to set up your environment variables in a `.env` file:

```bash
# Bitcoin RPC credentials
BITCOIN_RPC_URL="http://localhost:8332"
BITCOIN_RPC_USER="your-rpc-username"
BITCOIN_RPC_PASS="your-rpc-password"

# Starknet provider configuration
STARKNET_PROVIDER_URL="your-starknet-provider-url"
```

## Testing

```bash
bun run test
```

## Building

```bash
bun run build
bun run build
```

0 comments on commit a4c8472

Please sign in to comment.