@alpha-arcade/sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @alpha-market/sdk
1
+ # @alpha-arcade/sdk
2
2
 
3
3
  TypeScript SDK for trading on **Alpha Market** — Algorand prediction markets.
4
4
 
@@ -7,7 +7,7 @@ Place orders, manage positions, read orderbooks, and build automated trading bot
7
7
  ## Installation
8
8
 
9
9
  ```bash
10
- npm install @alpha-market/sdk algosdk @algorandfoundation/algokit-utils
10
+ npm install @alpha-arcade/sdk algosdk @algorandfoundation/algokit-utils
11
11
  ```
12
12
 
13
13
  `algosdk` and `@algorandfoundation/algokit-utils` are peer dependencies.
@@ -15,7 +15,7 @@ npm install @alpha-market/sdk algosdk @algorandfoundation/algokit-utils
15
15
  ## Quick Start
16
16
 
17
17
  ```typescript
18
- import { AlphaClient } from '@alpha-market/sdk';
18
+ import { AlphaClient } from '@alpha-arcade/sdk';
19
19
  import algosdk from 'algosdk';
20
20
 
21
21
  // 1. Setup clients
@@ -257,7 +257,7 @@ if (market) {
257
257
  These are exported for advanced users:
258
258
 
259
259
  ```typescript
260
- import { calculateFee, calculateMatchingOrders, getMarketGlobalState } from '@alpha-market/sdk';
260
+ import { calculateFee, calculateMatchingOrders, getMarketGlobalState } from '@alpha-arcade/sdk';
261
261
 
262
262
  // Fee calculation
263
263
  const fee = calculateFee(1_000_000, 500_000, 70_000); // quantity, price, feeBase
@@ -283,7 +283,7 @@ const state = await getMarketGlobalState(algodClient, marketAppId);
283
283
  ## Building a Trading Bot
284
284
 
285
285
  ```typescript
286
- import { AlphaClient } from '@alpha-market/sdk';
286
+ import { AlphaClient } from '@alpha-arcade/sdk';
287
287
  import algosdk from 'algosdk';
288
288
 
289
289
  const setup = () => {