Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

205
Visualizações
How the token-size can be greater than 1 in the Metaplex Auction House CLI for sell

Working with the Metaplex Auction House CLI (ah-cli) latest version (commit 472973f2437ecd9cd0e730254ecdbd1e8fbbd953 from May 27 12:54:11 2022) is only letting have the --token-size 1 and do not let create auction sell with values greater than 1, even for a Master Edition minted with 10 copies.

ts-node src/auction-house-cli.ts sell -k ~/.config/solana/myId.json -ah GvH97dakw2FsJE8RHndfTUuMZKcSJX6cjvn66Ax9hEJ7 -b 2.7 -m 9wqzeSn7KHR8ur6wxBTAA9e9Ah8C2rew5L5N2QFmPe78 -t 3

This is the error being returned:

/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143
            throw new Error(
                  ^
Error: Transaction failed: AnchorError occurred. Error Code: InvalidTokenAmount. Error Number: 6015. Error Message: Invalid token amount.
    at sendSignedTransaction (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:143:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async sendTransactionWithRetryWithKeypair (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/helpers/transactions.ts:66:26)
    at async Command.<anonymous> (/Users/bahia/solana/metaplex-foundation/metaplex/js/packages/cli/src/auction-house-cli.ts:330:5)

Anyone has any idea on how to have --token-size greater than 1?

Thanks

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

For a non-fungible token, its not possible to set --token-size > 1 due to nature of NFTs: there can not be more than 1 token with the same mint_address.

The use-case for --token-size > 1 is SPL-tokens / fungible assets, where more than 1 tokens can have the same mint_address.

In the case of Master Editions with > 1 copies, they are still non-fungible assets and the copies don't have the same mint_address.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda