Giter VIP home page Giter VIP logo

poolbetting's Introduction

Azuro totalizator

Documentation

Usage

Prerequisites

  1. Install hardhat locally in the project folder:
    npm install --save-dev hardhat
    

Compile

npm run compile

Test

npm run test

Run local node

npm run node

Deploy contract

  1. Fill up environment with networks keys you are going to use:
    • ALCHEMY_API_KEY_RINKEBY (for node connection)
    • RINKEBY_PRIVATE_KEY
    • ETHERSCAN_API_KEY (for contract verification)
  2. Run command:
    npm run deploy %network%
    
    where %network% is name of network you would deploy your contract to.

Upgrade contract

  1. Fill up CONTRACT_ADDRESS environment key with address of deployed PoolBetting proxy.
  2. Run command:
    npm run upgrade %network%
    
    where %network% is name of network where you would like to upgrade your contract.

Gnosis main network

Contracts

PoolBetting  0xFffF9220288787B24276135E58C0BF68D803F0ad
Impl         0x5A2cDA1FfCd6313B50dd5851eeF5d01e0A2249Fe

Rinkeby test network

Contracts

PoolBetting  0x5e74127D022A8471b9090B227A5aac534231BaA4
Impl         0xbCd45D027bDC3Af1d9916aebCd0a2fE506015b20
USDT         0xfF20e2e5768C666e873EB355ee48Ad16cAC317ee

Test accounts

Wallet1      0x13c9ca8cc4b1504368a541e21faac4da2ae7f0cc
PrivKey1     317fae20a06d46b6d9e90b2541064ba568acc71e4938ad214e691f5e6edfddc1

Wallet2      0x67256a33e9be491d15ae46b8b5ad6c2f04678dd6
PrivKey2     99aad12967457becf8f0e67356e02d0c05210399e83c7721a7547d77f92e5fc4

Wallet3      0xa86a550c4c2b586966b6da923c4068d0aeaef5fa
PrivKey3     d996f75ea9296f91b54ef57dc0b8210ccf4e497117532b712d58040f4ee82ac6

poolbetting's People

Contributors

shchepetov avatar dependabot[bot] 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.