Skip to content

fetz236/otc.sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otc.sol

Trade solana OTC. Project to facilitate high volume solana trades over the counter.

Setup

  1. Make sure PostgreSQL is installed and running
  2. Create a test database:
createdb otc_sol_test
  1. Set up environment variables:
export DATABASE_URL="postgres://YOUR_USERNAME@localhost:5432/otc_sol_test"
export TEST_DATABASE_URL="postgres://YOUR_USERNAME@localhost:5432/otc_sol_test"
  1. Run database migrations:
diesel migration run

Running Tests

Run the tests with:

cargo test -- --test-threads=1

Note: Make sure you have the diesel CLI installed. If not, install it with:

cargo install diesel_cli --no-default-features --features postgres

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published