@@ -174,4 +174,61 @@ export default class AppService {
174174 ]
175175 }
176176
177+ static async getFeaturedApps ( ) {
178+ return await Promise . all ( [
179+ {
180+ applink :'eosbet.io' ,
181+ img :'https://get-scatter.com/promos/eosbet.io.jpg' ,
182+ url :'https://eosbet.io/?ref=scatterrefer&utm_campaign=eos%20bet%20standard' ,
183+ } ,
184+ {
185+ applink :'dappspinach.io' ,
186+ img :'https://get-scatter.com/promos/dappspinach.io.jpg' ,
187+ url :'https://dappspinach.io/dapp/pc/dist/?channel=scat&utm_campaign=spinach+standard' ,
188+ } ,
189+ {
190+ applink :'mycryptovegas.io' ,
191+ img :'https://get-scatter.com/promos/mycryptovegas.jpg' ,
192+ url :'https://mycryptovegas.io/?ref=354625577968&utm_campaign=crypto+vegas+slot+wars' ,
193+ } ,
194+ {
195+ applink :'hirevibes.io' ,
196+ img :'https://get-scatter.com/promos/hirevibes.jpg' ,
197+ url :'https://www.hirevibes.io/?utm_campaign=hirevibes+standard' ,
198+ } ,
199+ {
200+ applink :'prospectors.io' ,
201+ img :'https://get-scatter.com/promos/prospectors.jpg' ,
202+ url :'https://prospectors.io?ref=scatterrefer&utm_campaign=prospectors+standard' ,
203+ } ,
204+ {
205+ applink :'cryptomaniaslots.com' ,
206+ img :'https://get-scatter.com/promos/cryptomania.jpg' ,
207+ url :'https://cryptomaniaslots.com/?ref=scatterrefer&utm_source=scatter.com/apps&utm_medium=banner&utm_campaign=blck' ,
208+ } ,
209+ {
210+ applink :'bethash.io' ,
211+ img :'https://get-scatter.com/promos/bethash.jpg' ,
212+ url :'https://bethash.io/?ref=scatterrefer&utm_campaign=bethash+standard' ,
213+ } ,
214+ {
215+ applink :'trustdice.win' ,
216+ img :'https://get-scatter.com/promos/trustdice.win.jpg' ,
217+ url :'https://trustdice.win/faucet?coinbox&ref=scatterrefer&utm_campaign=trustdice+standard' ,
218+ } ,
219+ {
220+ applink :'dice.one' ,
221+ img :'https://get-scatter.com/promos/dice.one.jpg' ,
222+ url :'https://dice.one/?ref=scatterrefer&utm_campaign=dice+standard' ,
223+ }
224+ ] . map ( async x => {
225+ let meta = await AppService . findApp ( x . applink ) ;
226+ if ( meta ) {
227+ meta = Object . assign ( meta , x ) ;
228+ } else meta = x ;
229+
230+ return FeaturedApp . fromJson ( meta ) ;
231+ } ) )
232+ }
233+
177234}
0 commit comments