Skip to content

Ryang-21/comet-contracts-v1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comet Contracts

Smart Contracts explicitly written for Soroban.

How to Test

Without logs

cargo test

With logs

cargo test -- --nocapture

Create a WASM Release Build

cargo build --target wasm32-unknown-unknown --release

Best Practices Used

  1. All Rust code is linted with Clippy with the command cargo clippy.

  2. Function and local variable names follow snake_case. Structs or Enums follow CamelCase and Constants have all capital letters.

Frontend

An example frontend has also been built that integrates the logic flow from the current v1 smart contracts. It can be found in the Frontend repository in the CometDEX github organization.

  • Further documentation will be provided for understanding the Frontend starter implementation as well as general smart contract logic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.7%
  • Shell 4.8%
  • Makefile 0.5%