# Manually approve an ERC20

You can also manually approve the Squid smart contract to use ERC20 tokens using `squid.approve` [#approve](https://docs.squidrouter.com/old-v2-documentation-deprecated/key-concepts/types#approve "mention")

<pre class="language-typescript"><code class="lang-typescript">await squid.approve({
<strong>  signer,
</strong>  spender: "0x6972A415e0572bd2E5E3c7DF307d0AFe32D30955",
  tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
  amount: "100000000000000000000" // if not passed, inifite approval take place
})
</code></pre>
