Skip to content
singh-sidharthPublic

About

Honestly just signing system of a DEX with gin

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Project

A mini-dex demo project to show signing and verfication of digitcal exchange in go.

Project Structure

dex-go/
│
├── main.go                  # Entry point
├── go.mod
├── go.sum
├── config/
│   └── config.go            # Blockchain keys, test RPC URLs
├── handlers/
│   ├── transaction.go       # API endpoints for signing/verifying
│   └── event.go             # API endpoints for events / analytics
├── models/
│   └── transaction.go       # Transaction struct
├── services/
│   └── signer.go            # Sign / verify logic
├── utils/
│   └── helpers.go           # Helpers like ETH→wei conversion
└── storage/
    └── eventstore.go        # In-memory storage of events

Possible Enhancments

  • Could enhance event storage to be more generic to support various type of events and event store
  • Implement a wallet workflow from a React App
  • Actually RPC call some solidity smart contracts to fetch prices
  • Integrate with live Order Logic

About

Honestly just signing system of a DEX with gin

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages