Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 693 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 693 Bytes

Satana

Setup

Running

  • Install dependencies with mix deps.get
  • Configure environment variables, check .env.sample
  • Start Phoenix endpoint with mix phx.server

Examples

  • List pending transactions
curl http://localhost:4000/api/transactions/pending
  • Add pending transaction(s)
curl -d '{"tx_ids": ["0x123", "0x456"]}' -H "Content-Type: application/json" -X POST http:/localhost:4000/api/transactions

Tests

You can run tests with mix test