Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 647 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 647 Bytes

rosetta-proxy

Rosetta API implementation for the Diem Payment Network.

This should be run alongside a Diem fullnode and will take incoming Rosetta requests and make outbound Diem JSON-RPC requests.

Usage

cargo run -- --network mainnet --diem-endpoint http://fullnode-address/port

To enable debugging information, use RUST_LOG:

RUST_LOG=diem_rosetta_proxy=debug cargo run -- --network mainnet --diem-endpoint http://fullnode-address/port

Testing

  1. Run make init
  2. Launch test server: make test-server
  3. Run the Rosetta Data API validator: make check-data
  4. Run the Rosetta Construction API validator: make check-con