The Gamble Token is a decentralized, open-source, peer-to-peer token that powers the planned Gamble Protocol. The token is a utility token that can be used to either participate in gambling games or to stake and receive a yield.
There are two ways to participate in the Gamble Protocol:
- Offer to stake your tokens in the Protocol and receive a yield proportional to the profits the protocol is making
- participate in the games gives you a chance of winning but also rewards you with additional tokens the more you play.
The player rewards and stakes yields are balanced by the protocol to insure the viability of the platform.
- Launching a test game (lottery) to test Avalanche's viability as a large scale open gambling platform.
- Establish yield and stake rewards comptroller for the protocol
- Launch the pre-sale and alpha of the protocol with two games: black jack and slots.
- Launch the beta of the protocol with the rest of the games.
- Launch the public release of the protocol and institue a decentralized governance system.
- install nodejs at this address https://nodejs.org/en/
- install yarn at this address https://yarnpkg.com/en/docs/install
- install the metamask extension at this address https://metamask.io/
- copy the content of .env.example to a .env file. Ask team members for supabase keys if they are relevant to your work. They probably are not.
N.B.: *If you are only doing ui work skip to step 4
- (If you are only doing ui work skip to step 4) Launch the test network
yarn start:chain
- add the test network to metamask https://metamask.zendesk.com/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC. Use these values:
- new RPC URL http://127.0.0.1:8545/
- new network name "Hardhat test"
- new network id "43112"
- Currency Symbol(Optional) AVAX
- To work againts Fuji Testnet, run
yarn dev:fuji
, for the local network from a another terminal, deploy the contract to the test networkyarn dev