GithubHelp home page GithubHelp logo

vitorgamer58 / lottery-dapp Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 9.0 372 KB

Frontend in Vue for a decentralized lottery in BSC network

Home Page: https://lottery.notasdovitor.top/#/

License: MIT License

JavaScript 45.83% HTML 3.82% Vue 50.35%
web3 lottery solidity-dapps lottery-dapp lottery-contract

lottery-dapp's Introduction

lottery-dapp

A front-end for SemanaSolidity lottery contract

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

lottery-dapp's People

Contributors

vitorgamer58 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

lottery-dapp's Issues

Module parse failed: Unexpected token

Hi, it failed when i run this dapp, the error is as following, could you please help point out how to correct this.

error in ./node_modules/web3modal-vue/src/providers/connectors/torus.js

Module parse failed: Unexpected token (19:44)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| const torus = new Torus({

            buttonPosition: opts.config?.buttonPosition || buttonPosition,

| apiKey: opts.config?.apiKey || apiKey,
| modalZIndex: opts.config?.modalZIndex || modalZIndex

@ ./node_modules/web3modal-vue/src/providers/connectors/index.js 5:0-28 14:0-27:2
@ ./node_modules/web3modal-vue/src/providers/index.js
@ ./node_modules/web3modal-vue/src/controllers/providers.js
@ ./node_modules/web3modal-vue/src/controllers/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/web3modal-vue/src/Web3ModalVue.vue?vue&type=script&lang=js&
@ ./node_modules/web3modal-vue/src/Web3ModalVue.vue?vue&type=script&lang=js&
@ ./node_modules/web3modal-vue/src/Web3ModalVue.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/WalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/WalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/WalletConnect.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.1.105:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

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.