I’m trying to list my NFT for sale on the Solana devnet using the auction house CLI tool but keep getting transaction errors. Here’s the command I’m running:
ts-node src/auction-house-cli.ts sell \
-k /Users/myuser/.config/solana/devnet.json \
-ah 9xKLm8nVqW3pMc2tNfY7uR4sHgE6vZj5BwQrXm9hPtKs \
--buy-price 2 \
--mint BKm7nJqX8vWz3pR9tYfE4sQhL6uM2cV5AwNrGhPk7Fs8 \
--token-size 1
The error message shows:
wallet public key: 8TmZqW9rKp4sN3vE7uYhL2cM6fR9jBwXk5sPtGnVh4Qm
Using cluster devnet
Rejected via websocket { InstructionError: [ 0, { Custom: 1 } ] }
Timeout Error caught {
err: { InstructionError: [ 0, [Object] ] },
slot: 145789234,
confirmations: 0
}
Error: Transaction failed: Transfer 897840 lamports to the new account
at sendSignedTransaction
at processTicksAndRejections
at async sendTransactionWithRetryWithKeypair
at async Command.<anonymous>
My wallet 8TmZqW9rKp4sN3vE7uYhL2cM6fR9jBwXk5sPtGnVh4Qm contains both the NFT and enough SOL for transaction fees. Any ideas what might be causing this issue?
This error happens when there’s a problem creating or funding accounts during listing. The custom error 1 plus lamport transfer failure means the auction house can’t create the seller trade state account. First, check if your auction house config matches what you’re doing. Run the auction house show command with your AH address to verify treasury mint and fee settings. Wrong token mint or fee requirements will cause this exact error. You might not have enough SOL for all the accounts needed. Listing creates multiple accounts (seller trade state, receipt account, etc.) that need rent exemption - not just basic transaction fees. I’d add more SOL to your wallet. I usually keep at least 0.1 SOL extra when testing on devnet. The timeout also suggests network issues. Devnet’s pretty unreliable, so try running the command a few times with different RPC endpoints if you can.
Looks like an account creation problem. That 897840 lamports error usually means the auction house can’t fund the escrow account properly. Try switching to a different RPC endpoint - devnet RPCs are garbage sometimes and timeout during account creation. Also double-check your auction house exists at that address. Wrong AH address throws custom error 1 too.
hmm that’s tricky! custom error 1 is pretty vague but I’ve seen this with auction house stuff on devnet.
quick question - did you initialize your auction house before listing? the auction house address might not be set up right or have different settings.
also, is that NFT actually in your wallet and not some other token account? sounds basic but I’ve made that mistake lol. double check with spl-token accounts
to see all your token accounts.
what version of the auction house cli are you using? some versions had issues with lamport calculations, especially around rent exemption. that “Transfer 897840 lamports” part looks like it’s trying to create or fund an account but failing.
try running this with a smaller price first? like 0.1 SOL instead of 2? see if it’s a size issue. what’s your SOL balance right now?
devnet can be finicky compared to mainnet… is this happening consistently or does it work sometimes?