@strobelabs/perpcity-sdk 0.1.5 → 0.1.7

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
@@ -10,39 +10,3 @@ pnpm i @strobelabs/perpcity-sdk
10
10
 
11
11
  ### Getting Started
12
12
 
13
- ```typescript
14
- import { PerpCityContext, PerpManager } from '@strobelabs/perpcity-sdk';
15
-
16
- const ctx = new PerpCityContext({
17
- publicClient: publicClient,
18
- walletClient: walletClient,
19
- goldskyEndpoint: GOLDSKY_URL,
20
- perpManagerAddress: PERP_MANAGER_ADDRESS,
21
- perpManagerAbi: PERP_MANAGER_ABI,
22
- beaconAbi: BEACON_ABI
23
- });
24
-
25
- const perpManager = new PerpManager(ctx);
26
- ```
27
-
28
- ### Example Usage
29
-
30
- #### Create a Perp
31
-
32
- ```typescript
33
- await perpManager.createPerp({
34
- startingPrice: 50,
35
- beacon: '0x123...'
36
- });
37
- ```
38
-
39
- #### Open a Maker Position
40
-
41
- ```typescript
42
- await perp.openMakerPosition({
43
- marign: 100,
44
- priceLower: 45,
45
- priceUpper: 55
46
- });
47
- ```
48
-