# 배포 확인

배포된 컨트랙트 메서드 실행으로 스마트 컨트렉트가 제대로 배포되었는지 확인할 수 있습니다.

truffle networks 명령어로 배포된 컨트랙트의 네트워크를 확인할 수 있습니다.

```shell
$ truffle networks
Network: MEVerseTestnet (id: 4759)
  MEVerseGreeter: 0xeb7A1483E3408Af19231262643672719CcFc6E17
  Migrations: 0xD542f454EdEb2CebeDF68a2B6176951c19dff9ed
```

컨트랙트를 배포한 네트워크와 연결하기 위해 다음과 같은 명령어를 사용하면 됩니다.

```shell
$ truffle console --network MEVerseTestnet  
truffle(MEVerseTestnet)> 
```

접속후 인스턴스를 생성하고 인스턴스에서 메서드를 호출해서 동작이 잘 되는지를 확인합니다.

```bash
truffle(development)> let mev = await MEVerseGreeter.deployed()
undefined
truffle(MEVerseTestnet)> mev.greet()
'Hello, MEVerse'
truffle(MEVerseTestnet)> 
```

배포는 Console화면에서 Contract Address를 확인하고 [MEVerse Testnet Scan](https://testnet.meversescan.io/)에서 트랜잭션 해시값으로 검색하여 확인합니다.

<figure><img src="/files/bijopjcjampnztJMpYW0" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://meversedex.gitbook.io/meverse-dev-docs/meverse-dev-docs-kr/undefined/undefined-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
