Skip to content

This is a smart contract that allow user to bet on champion of fifa 2018 world cup.

Notifications You must be signed in to change notification settings

bingozwb/who-is-champion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

who-is-champion

This is a smart contract that allow user to bet on champion of fifa 2018 world cup.

Team id mapping

team_id cn_name en_name
133 俄罗斯 Russia
134 沙特阿拉伯 Saudi Arabia
135 埃及 Egypt
136 乌拉圭 Uruguay
137 摩洛哥 Morocco
138 伊朗 Iran
139 葡萄牙 Portugal
140 西班牙 Spain
141 法国 France
142 澳大利亚 Australia
143 阿根廷 Argentina
144 冰岛 Iceland
145 秘鲁 Peru
146 丹麦 Denmark
147 克罗地亚 Croatia
148 尼日利亚 Nigeria
149 哥斯达黎加 Costa Rica
150 塞尔维亚 Serbia
151 德国 Germany
152 墨西哥 Mexico
153 巴西 Brazil
154 瑞士 Switzerland
155 瑞典 Sweden
156 韩国 Korea Republic
157 比利时 Belgium
158 巴拿马 Panama
159 突尼斯 Tunisia
160 英格兰 England
161 波兰 Poland
162 塞内加尔 Senegal
163 哥伦比亚 Colombia
164 日本 Japan

Dependencies

  1. nodejs, and make sure it's version above 8.0.0
  2. npm
  3. truffle
  4. ganache

Build

  1. First run npm install to install node_modules
  2. Then run truffle compile

Run tests

  1. run truffle test to execute tests

Mainnet

For mainnet contract: 0xbd8dd6d726c3fcdbfa9a1279a98a7320cfe4d800

Testnet

For test contract Beta1.0: 0x660ABe77f36Ca3937a130f8BDF6800EB837d1F83

For test contract Beta1.1: 0xdf16872deCF0d06419CF96296057724AF31188f6

About

This is a smart contract that allow user to bet on champion of fifa 2018 world cup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 61.7%
  • JavaScript 38.3%