The brc20-swap contract is primarily based on the reference implementation of Uniswap V2.
yarn
Once this step is complete, a 'contract.js' file will be generated in the 'build' directory, which can then be used to inscribe an inscription.
yarn build:contract
yarn test