1

I'm trying to get this tutorial to work but adding a memo to the Tezos blockchain always results in a HttpRequestFailed: Error: timeout of 30000ms exceeded

Full repo: https://github.com/MelvinManni/tez_memo

Code:

    /**
   * @param {string} memo
   * @description Creates a new memo and adds it to the contract storage
   */
  async addMemo({ dispatch }, memo) {
    try {
      const contract = await getContract();
      const op = await contract.methods.addMemo(memo).send();
      await op.confirmation()
      dispatch("softUpdateMemoList");
    } catch (error) {
      console.log(error);
    }
  },

Any ideas on how to fix this are really appreciated.

1 Answer 1

1

Try changing these lines:

const network = { type: NetworkType.ITHACANET };

// initialiize the SDK
const Tezos = new TezosToolkit("https://ithacanet.ecadinfra.com");

To:

const network = { type: NetworkType.GHOSTNET };

// initialiize the SDK
const Tezos = new TezosToolkit("https://rpc.ghostnet.teztnets.xyz");

ithacanet was renamed to ghostnet, and is now a long running test network.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.