@tractiondao/traction
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

traction

License Build Status Contributors Chat

Traction is a protocol for issuing American options on Solana.

Follow us for updates below:

About

Traction is a Solana protocol which handles the lifecycle of American options. There are five actions one can take:

  • new_contract: Creates a new options market associated with an underlying, a quote asset, a strike, a direction (put or call), and an expiry.
  • write: Issues an option, with the underlying held as collateral.
  • exercise: Exchanges quote tokens for underlying tokens at the strike price. A protocol fee of 1 basis point is taken here.
  • redeem: When the option has passed expiry, this allows an option writer to retrieve their underlying collateral.
  • (unimplemented) exit: If the option has yet to expire, this allows an option writer to retrieve their collateral by buying an option off the open market.

Packages

Package Description Version Docs
traction Program for issuing American options. Crates.io Docs.rs
@tractiondao/traction TypeScript SDK for Traction npm Docs

Note

  • Traction is in active development, so all APIs are subject to change.
  • This code is unaudited. Use at your own risk.

Contribution

Thank you for your interest in contributing to Traction Protocol! All contributions are welcome no matter how big or small. This includes (but is not limited to) filing issues, adding documentation, fixing bugs, creating examples, and implementing features.

If you'd like to contribute, please claim an issue by commenting, forking, and opening a pull request, even if empty. This allows the maintainers to track who is working on what issue as to not overlap work.

For simple documentation changes, feel free to just open a pull request.

If you're considering larger changes or self motivated features, please file an issue and engage with the maintainers by joining the development channel on Keybase.

License

Traction Protocol is licensed under the Affero GPL 3.0 license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Traction Protocol by you, as defined in the AGPL-3.0 license, shall be licensed as above, without any additional terms or conditions.

Readme

Keywords

none

Package Sidebar

Install

npm i @tractiondao/traction

Weekly Downloads

0

Version

0.2.0

License

AGPL-3.0

Unpacked Size

356 kB

Total Files

93

Last publish

Collaborators

  • isaacnewton