> For the complete documentation index, see [llms.txt](https://archive-docs.klaytn.foundation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archive-docs.klaytn.foundation/content/dapp/developer-tools/getting-started/klaytn-safe/contract-interaction.md).

# Contract Interaction

In this section, you will be interacting with and sending a transaction to a simple contract deployed on Baobab using our newly created multisig wallet.

**Pre-requisites**

* [Metamask](https://metamask.io/download/) & [Klaytn Metamask Config](https://docs.klaytn.foundation/dapp/tutorials/connecting-metamask#send-klay)
* [Remix](https://remix.ethereum.org/) & [Klaytn Remix Plugin](https://klaytn.foundation/using-klaytn-plugin-on-remix/)
* Obtain test KLAY from the [Faucet](https://baobab.wallet.klaytn.foundation/faucet)

**Step 1:** Navigate to [Remix](https://remix.ethereum.org/)

**Step 2:** Compile and deploy the sample **storage contract**.

The contract must first be deployed before you may interact with it in your multisig wallet. This sample contract contains a simple uint “number” variable that can be updated by calling the **store** method and retrieved by calling the **retrieve** method.

![](/files/5TI0dvDkMplfywQKz36M)

**Step 3:** Initiate a new transaction.

To interact with a smart contract in your safe wallet, click **"New Transaction"** To complete this step, you will need your already deployed contract address and ABI, as illustrated in the previous step.

![](/files/ng7Hx1BMgyi0qqQ7Ywet)

**Step 4:** Review and submit the transaction. You will need to sign the transaction with your signer wallet, and it will be executed once the confirmation threshold is reached.

![](/files/hPGhBk4UDftikpTqx2EM)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://archive-docs.klaytn.foundation/content/dapp/developer-tools/getting-started/klaytn-safe/contract-interaction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
