Giter Site home page Giter Site logo

stakespace's Introduction

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)

Features

  • 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)

Stack

  • 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

Steam Bot

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.

How to build

  1. npm install

.env.local variables

  1. NEXT_PUBLIC_WEBSOCKET_HOST (host of socket server)

  2. MONGODB_URI

  3. REDIS_PASSWORD

  4. NEXT_PUBLIC_HOST (host of next server, i.e https://google.com)

  5. STEAM_API_KEY (web api key)[https://steamcommunity.com/dev/apikey]

  6. STEAM2_API_KEY (used for (steam market api)[https://api.steamapis.com])

  7. COINPAYMENTS_PUBLIC_KEY

  8. COINPAYMENTS_PRIVATE_KEY

  9. COIN_MERCHANT_ID

  10. COIN_IPN_SECRET (IPN required)

  11. CRYPTO_COMPARE_KEY (used here)[https://min-api.cryptocompare.com]

  12. REDIS_HOST

Afterwards

Starting socket (REQUIRED)

  • cd api
  • npm run start

stakespace's People

Contributors

birthdates avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.