Skip to content

Commit

Permalink
Add BNB, CAKE, and Tether (BEP20)
Browse files Browse the repository at this point in the history
  • Loading branch information
vertiond committed Jan 23, 2022
1 parent 376cc1f commit 840d2a8
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ This program will create a Dogecoin wallet that only you have access to. Encryp

- Dogecoin
- Vertcoin
- Binance Coin
- Bitcoin
- Bitcoin Cash
- Cake
- Dash
- Digibyte
- Ethereum
Expand All @@ -39,7 +41,7 @@ This program will create a Dogecoin wallet that only you have access to. Encryp
- Raptoreum
- Ravencoin
- Shiba Inu(ERC20)
- Tether(ERC20, TRC20)
- Tether(ERC20, TRC20, BEP20)
- Tron
- Verge
- Zcash
Expand Down Expand Up @@ -69,7 +71,7 @@ Please make sure you have [activated your address.](https://www.hashcryptos.com/

## Building

The GUI of this MVP is based on [Wails](https://wails.app) and [Go](https://golang.org/).
The GUI is based on [Wails](https://wails.app) and [Go](https://golang.org/).

Install the Wails [prerequisites](https://wails.app/gettingstarted/) for your platform, and then run:

Expand Down
33 changes: 33 additions & 0 deletions payouts/bnbpayout.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package payouts

var _ Payout = &BNBPayout{}

type BNBPayout struct{}

func NewBNBPayout() *BNBPayout {
return &BNBPayout{}
}

func (p *BNBPayout) GetID() int {
return 27
}

func (p *BNBPayout) GetDisplayName() string {
return "Binance Coin"
}

func (p *BNBPayout) GetTicker() string {
return "BNB"
}

func (p *BNBPayout) GetCoingeckoExchange() string {
return "binance"
}

func (p *BNBPayout) GetCoingeckoCoinID() string {
return "binancecoin"
}

func (p *BNBPayout) GetNetworks() []string {
return []string{}
}
33 changes: 33 additions & 0 deletions payouts/cakepayout.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package payouts

var _ Payout = &CAKEPayout{}

type CAKEPayout struct{}

func NewCAKEPayout() *CAKEPayout {
return &CAKEPayout{}
}

func (p *CAKEPayout) GetID() int {
return 28
}

func (p *CAKEPayout) GetDisplayName() string {
return "Cake"
}

func (p *CAKEPayout) GetTicker() string {
return "CAKE"
}

func (p *CAKEPayout) GetCoingeckoExchange() string {
return "binance"
}

func (p *CAKEPayout) GetCoingeckoCoinID() string {
return "pancakeswap-token"
}

func (p *CAKEPayout) GetNetworks() []string {
return []string{}
}
1 change: 1 addition & 0 deletions payouts/usdtpayout.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ func (p *USDTPayout) GetNetworks() []string {
return []string{
"ERC20",
"TRC20",
"BEP20",
}
}
2 changes: 2 additions & 0 deletions pools/zergpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ func (p *Zergpool) GetPayouts(testnet bool) []payouts.Payout {
payouts.NewSHIBPayout(),
payouts.NewUSDTPayout(),
payouts.NewTRXPayout(),
payouts.NewBNBPayout(),
payouts.NewCAKEPayout(),
}
}

Expand Down

0 comments on commit 840d2a8

Please sign in to comment.