How to whitelist contracts

To whitelist a contract, you need to:

  1. Give StarkWare access to your code to check for a few things (hints, messages to L1)
  2. StarkWare will add it in the backend as whitelisted, and give you a deployment token
  3. 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.