Quickstart Solidity APIs
We use Foundry for integrating solidity APIs from Standard Exchange.
Install Foundry if you haven’t already.
Create a new Foundry project
Install Standard's contracts from Github repo.
Create remappings.txt
to import installed Standard contracts.
Usage
Once installed, you can use the contracts in the library by importing them:
To keep your system secure, you should always use the installed code as-is, and neither copy-paste it from online sources nor modify it yourself. The library is designed so that only the contracts and functions you use are deployed, so you don't need to worry about it needlessly increasing gas costs.
Last updated