@elementfi/core-typechain
v3.0.0
Published
Typechain codegen for generating Typescript classes and types for elf-contracts
Downloads
16
Readme
elf-contracts-typechain
Typechain codegen for generating Typescript classes and types for elf-contracts
Install
Run
npm install @elementfi/core-typechain
Development
Run
npm ci
This will run the build process constructing dist/ in the postinstall phase
Make changes or add new contracts in the src/localContracts
directory then run the build command:
npm run build
This will produce new files in dist/
that can be checked in.
Publishing elf-contracts-typechain
To release and publish the new token list:
First create a new version commit using npm:
npm version major|minor|patch # this will create a git commit
Then push up the changes to Github:
git push
git push --tags
Then in GH:
- Go to tags
- Click the ellipses to the far right of the new tag and click "Create release"
- On the new release, click "Auto-generate release notes" (edit the description if needed)
- Click "Publish release"
- Check the Actions tab to monitor the build and publish progress.