@strobelabs/perpcity-sdk 0.1.4 → 0.1.6

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,41 +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
- ### PerpManager Actions
29
-
30
- #### Create a Perp
31
-
32
- ```typescript
33
- const perp = await perpManager.createPerp({
34
- startingPrice: 12.3,
35
- beacon: '0x123...'
36
- });
37
- ```
38
-
39
- ### Open a Maker Position
40
-
41
- ```typescript
42
- const perp = await perpManager.openMakerPosition({
43
- marign: 12.3,
44
- liquidity: 123,
45
-
46
- });
47
- ```
48
-
49
- ### Position Actions
50
-