This app is unfinsihed.
It is a Rust gambling site. Similar to BanditCamp or RustClash
(sorry for bad code it was unfinished due to personal issues)
- Crate openings
- Create battles (1v1, 2v2, 3v3)
- Group unboxes
- Admin menu to create creates
- Somewhat working chat system
- Steam login
- Withdraw and depositing system (crypto using CoinPayments, rust skins)
- No home page
- Live battle page
- Mines (somewhat finished)
- Redis
- NextJS
- NodeJS (18.17.0+)
- socket.io
- Tailwind CSS
- clsxx
- FontAwesome (react library)
- Chalk
- EosJOS
- Steam-TOTP
- Steam-Trafeoffer-Manager
- Steam-User
- websocket (ws)
- sharp
-
Remove steam guard if active.
-
Download this (program)[https://github.com/Jessecar96/SteamDesktopAuthenticator]
-
Run it and find your identitySecret and sharedSecret in /maFiles/.maFile
-
Then create a file
api/bot_logins.json
It should be formatted like this:
[
{
"username": "x",
"password": "y",
"sharedSecret": "z",
"identitySecret": "a"
},
{
"username": "x",
"password": "y",
"sharedSecret": "z",
"identitySecret": "a"
}
]
This is an array so multiple accounts will be used.
The account with the lowest inventory value will always get deposited into first. If multiple accounts are necesarry to complete a withdrawl, this is possible as well.
This will allow trading from bots.
npm install
-
NEXT_PUBLIC_WEBSOCKET_HOST
(host of socket server) -
MONGODB_URI
-
REDIS_PASSWORD
-
NEXT_PUBLIC_HOST
(host of next server, i.e https://google.com) -
STEAM_API_KEY
(web api key)[https://steamcommunity.com/dev/apikey] -
STEAM2_API_KEY
(used for (steam market api)[https://api.steamapis.com]) -
COINPAYMENTS_PUBLIC_KEY
-
COINPAYMENTS_PRIVATE_KEY
-
COIN_MERCHANT_ID
-
COIN_IPN_SECRET
(IPN required) -
CRYPTO_COMPARE_KEY
(used here)[https://min-api.cryptocompare.com] -
REDIS_HOST
npm install next@13.5.6 -g
next build
npm run build
cd api
npm run start