> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `makeAddr`

### Signature

```solidity
function makeAddr(string memory name) internal returns(address addr);
```

### Description

Creates an address derived from the provided `name`.

A [`label`](/reference/cheatcodes/label.mdx) is created for the derived address with the provided `name` used as the label value.

### Examples

```solidity
address alice = makeAddr("alice");
emit log_address(alice); // 0x328809bc894f92807417d2dad6b7c998c1afdac6
```
