Error: Response errors; InputInvalidSignature { index: 0 }

It looks like an incorrect signature. The response is empty. How to solve it?

1 Like

Can you share the full steps to reproduce this?

1 Like
  1. sudo apt-get update && sudo apt-get install -y && apt install curl -y && apt install git -y
  2. curl --proto ‘=https’ --tlsv1.2 -sSf | sh
  3. export PATH=“${HOME}/.fuelup/bin:${PATH}”
  4. curl --proto ‘=https’ --tlsv1.2 -sSf | sh
  5. source “$HOME/.cargo/env”
  6. mkdir fuel && cd fuel
  7. forc new counter-contract
  8. vim counter-contract/src/main.sw
  9. I’m changing contract: contract;

storage {
counter: u64 = 0,

abi Counter {
#[storage(read, write)]
fn increment();

fn count() -> u64;


impl Counter for Contract {
fn count() → u64 {

#[storage(read, write)]
fn increment() {
    storage.counter = storage.counter + 1;

10. cd fuel
11. fuelup self update
12. fuelup toolchain install beta-3
13. fuelup default beta-3
14. fuelup component add forc@0.35.3
15. forc deploy --node-url --gas-price 1 --random-salt
16. cd fuel/counter-contract
17. export PATH=“${HOME}/.fuelup/bin:${PATH}”
18. forc-wallet account 0 sign tx-id
19. forc deploy --node-url --gas-price 1 --random-salt

What are the steps you are using to sign the tx though?

forc deploy --node-url --gas-price 1 --random-salt

here I put my fuel address, next two times pressed enter

and here I put the transaction id from the command above

Are you using this command to sign the tx?

forc wallet sign --account <ACCOUNT_INDEX> tx-id <TX_ID_HERE>

where can I get <ACCOUNT_INDEX>?

You can use forc-wallet accounts to list your accounts and their index

yes I signed with this command and still same problem.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.