This script is used to automatically generate .mdx code for an exporting method for a platform.
- Clone the repo
git clone https://github.com/surfer-protocol/auto-schema.git- Put the filepath of the zip file in the
select_file()function inapp.py - Run the script
- Find the generated .mdx file in the same directory as the script. It will be named like
z_generated_mdx_<timestamp>.mdx - Copy and paste the contents of the .mdx file into
platform-[export-method-name].mdxin the Surfer Protocol repo.