Wtitten with .NET Framework 4.8 and official Drift.Trade API.
- .NET Framework 4.8
- SolNET SDK
- RestSharp
Most common functions API calls realised:
- DriftClient().Subscribe()
- deposit()
- withdraw()
- transferDeposit()
- placePerpOrder()
- placeSpotOrder()
- cancelOrder()
- Install Net Framework 4.8.
- Clone the repository and unzip the repository to folder.
- Edit
settings.json
to configure which projects you want to use for transactions - Edit the RPC to your own or Shyft's
{
"common": {
"SOLANA_WALET": "<solana-private-key>",
"SOLANA_RPC": "https://<your-solana-rpc>.com:<port>"
},
"pairs": {
"PAIR1": "SOL/USDC",
"PAIR2": "SOL/JUP",
"PAIR3": "USDC/JUP",
"PAIR4": "USDC/BONK",
"PAIR5": "SOL/WEN"
}
}
- Submit bug reports
- Guidelines for proposing new features
- Code formatting and pull request procedures
This tool is exclusively designed for educational objectives, and the creator disclaims any accountability for potential website spam arising from its utilization.