Deploying with the salt

The contract address depends only on the network, the deployer address and the salt. The WASM code and the constructor arguments do not change it. Deployment needs the deployer's authorization, so nobody else can take the address, and the salt does not have to be kept secret. Each salt works once per deployer and network.

Stellar CLI

            
JavaScript SDK

        

How it works

Same search from the command line: node contract-vanity.js <deployer> --prefix CA… --suffix … (source code and CLI on GitHub)