To whitelist a contract, you need to:
- Give StarkWare access to your code to check for a few things (hints, messages to L1)
- StarkWare will add it in the backend as whitelisted, and give you a deployment token
- You’ll be able to deploy your contract with this token
Note that if your contract is an account contract, then you won’t need a token. This process is cumbersome and StarkWare wants to get rid of it asap, but for now it takes 2 ~ 3 working days to complete.