liquid-sdk 1.5.5 → 1.5.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/llms.txt CHANGED
@@ -117,7 +117,7 @@ Every token gets 100 billion supply (18 decimals), a Uniswap V4 pool, and locked
117
117
 
118
118
  | Field | Default |
119
119
  |-------|---------|
120
- | hook | Static fee V2 (1% buy fee) |
120
+ | hook | Static fee V2 (1% buy + 1% sell) |
121
121
  | tickSpacing | 200 |
122
122
  | tickIfToken0IsLiquid | -230400 (~10 ETH market cap) |
123
123
  | positions | 5-position Liquid layout: 10%/50%/15%/20%/5% |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liquid-sdk",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "TypeScript SDK to deploy ERC-20 tokens with Uniswap V4 liquidity on Base — zero API keys, one dependency (viem)",
5
5
  "author": "Liquid Protocol",
6
6
  "homepage": "https://github.com/craigbots/liquid-sdk#readme",
@@ -41,7 +41,7 @@ const result = await sdk.deployToken({
41
41
  // result.event.poolId → 0x... (the Uniswap V4 pool ID)
42
42
  ```
43
43
 
44
- This creates a token with 100 billion supply, a Uniswap V4 pool, locked liquidity, 1% buy fee, and sniper auction MEV protection — all with sensible defaults.
44
+ This creates a token with 100 billion supply, a Uniswap V4 pool, locked liquidity, 1% fee on both buys and sells, and sniper auction MEV protection — all with sensible defaults.
45
45
 
46
46
  ### Deploy with Dev Buy (buy tokens at launch)
47
47
 
@@ -65,7 +65,7 @@ The dev buy happens atomically in the same transaction as deployment. The ETH is
65
65
  ```typescript
66
66
  import { encodeStaticFeePoolData, encodeDynamicFeePoolData, ADDRESSES } from "liquid-sdk";
67
67
 
68
- // Static fees: 0% sell fee, 2% buy fee
68
+ // Static fees: 0% sell fee, 2% buy fee (override defaults)
69
69
  const result = await sdk.deployToken({
70
70
  name: "High Fee Token",
71
71
  symbol: "HFT",
@@ -162,7 +162,7 @@ const result = await sdk.deployToken({
162
162
  | `pairedToken` | `Address` | WETH | Quote token |
163
163
  | `tickIfToken0IsLiquid` | `number` | `-230400` | Starting tick (~10 ETH market cap) |
164
164
  | `tickSpacing` | `number` | `200` | Uniswap V4 tick spacing |
165
- | `poolData` | `Hex` | 0% sell / 1% buy | Encoded fee configuration |
165
+ | `poolData` | `Hex` | 1% sell / 1% buy | Encoded fee configuration |
166
166
  | `locker` | `Address` | LP Locker Fee Conversion | LP locker contract |
167
167
  | `rewardAdmins` | `Address[]` | `[wallet]` | Reward admin per recipient |
168
168
  | `rewardRecipients` | `Address[]` | `[wallet]` | Fee recipients |
@@ -250,7 +250,7 @@ const unlockTime = await sdk.getPoolUnlockTime(result.event.poolId);
250
250
  import { ADDRESSES, EXTERNAL } from "liquid-sdk";
251
251
 
252
252
  ADDRESSES.FACTORY // Token factory
253
- ADDRESSES.HOOK_STATIC_FEE_V2 // Default hook (1% buy fee)
253
+ ADDRESSES.HOOK_STATIC_FEE_V2 // Default hook (1% buy + 1% sell)
254
254
  ADDRESSES.HOOK_DYNAMIC_FEE_V2 // Dynamic fee hook
255
255
  ADDRESSES.LP_LOCKER_FEE_CONVERSION // Default locker (converts fees to ETH)
256
256
  ADDRESSES.SNIPER_AUCTION_V2 // Default MEV module