Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

SALT_TAKEN

What SALT_TAKEN means, why InvalidInputError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

InvalidInputErrorNot retryable
@ensforge/sdk

What happened

A contract was already deployed with this salt.

What to show users

TitleMessageAction
Already createdA resolver was already created with these settings.Use the existing resolver, or create a new one.

How to fix

Use the existing contract, or pass another salt.

Retry safety

Retrying the same call fails the same way until the cause is fixed (retryable: false).

Actions that throw it

ActionWhen
resolver.createfor invalid input, or a salt whose resolver already exists.

Catch it

Errors.hasCode("SALT_TAKEN") narrows to this error. See Handle errors.

Was this page helpful?