A Counter Strike skin arbitrage trading application written in Golang - supports buying on Dmarket and Skinport and selling on Buff 163.
- Install Golang
- Complete
config.json
with the desired values - Navigate to the source directory
- Execute
go mod download
to install the required packages - Execute
go run main.go
to start the program
monitorDelay
- Delay in ms between checking for new Dmarket products (5000-10000 recommended to avoid rate limits)webhook
- URL of the Discord webhook where you'd like to receive add to cart and purchase notificationsskinportUsername
&skinportPassword
- Your Skinport account detailstwoCaptchaKey
- Your 2captcha key used for solving Skinport captchas (not needed if logging in manually)botToken
- Discord bot token for collecting Skinport email confirmation links / auth token through DiscordinputChannel
- Discord channel ID of the channel in which you want to send Skinport detailsdmarketPublicKey
&dmarketPrivateKey
- Dmarket API details
Skinport automated login and order submission very rarely works due to the v3 captcha they have introduced, which is why I decided to open source the project. Instead, it will now send notifications after adding a desired item to cart, from which the user can complete checkout manually.
For the manual Skinport login, the user must first login in the browser and copy their connect.sid
cookie, which the Discord bot will ask for after starting the program. This cookie usually lasts a week but will need to be entered whenever the program restarts.
I was able to make a good amount of money using this program in the run up to CS2 (mainly from buying on Dmarket). However, there are several features I have in mind that would improve the project. Please feel free to contribute or suggest any improvements:
- Fixing the Skinport captcha issue, perhaps by creating a local captcha harvester.
- Persisting purchased items to a database, making selling and profit calculations easier.
- Automate selling on Buff, this would allow the program to generate profit without any manual work.