Skip to content

Commit

Permalink
update hint
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzshia committed Dec 24, 2024
1 parent dd3372d commit e88b606
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const { execute, transaction, builder, extInfo } = await raydium.clmm.openPositi
- `builder`: all instructions in transaction. e.g. builder.allInstructions, builder.AllTxData
- `extInfo`: transaction related publicKeys. (e.g: extInfo from raydium.cpmm.createPool includes poolId, programId...etc)

#### Fetch pool list by mints
#### Fetch pool list by mints (mainnet only)

```
import { PoolFetchType } from '@raydium-io/raydium-sdk-v2'
Expand Down Expand Up @@ -70,7 +70,7 @@ await raydium.account.fetchWalletTokenAccounts() // if need to force fetching to

### FAQ

#### Error: block height exceeded
#### Error: block height exceeded / exceeded CUs meter at BPF instruction

- transactions were expired, set higher priority fees (computeBudgetConfig) to make it go through smoothly
- if you are testing in devnet, remember to replace programId to devnet one.
Expand Down
4 changes: 3 additions & 1 deletion src/amm/createMarket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export const createMarket = async () => {
sequentially: true,
})

console.log('note: create market does not support token 2022')
console.log(
'note: create market does not support token 2022, if you need more detail error info, set txVersion to TxVersion.LEGACY'
)
console.log('create market txIds:', txIds)
process.exit() // if you don't want to end up node execution, comment this line
}
Expand Down

0 comments on commit e88b606

Please sign in to comment.