- Go to Remix
- Paste the code from
FundMe.sol
andPriceConverter.sol
into new files in Remix - Hit
Compile
- Hit
Deploy
For a more in depth blog on working with remix, read here
Fallback and receive functions
fallback() external payable {
}
receive() external payable {
}
Using library
contract FundMe {
using PriceConverter for uint256;
...
library PriceConverter {
...