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].mdx
in the Surfer Protocol repo.