Comments (2)
hi, if you only want to use it in browser environment, you don't need to use npm. check this html as an example (note that you should access it through http).
for example, a minimum set up using python3 http server module:
curl https://raw.githubusercontent.com/QuarkChain/quarkchain-web3.js/master/examples/browser/dapp.html > /tmp/dapp.html
cd /tmp && python3 -m http.server 8080 # then open browser and go to localhost:8080/dapp.html
from quarkchain-web3.js.
Thank you very much for the clarification. I will try to follow the example!
from quarkchain-web3.js.
Related Issues (13)
- deploy contract with quarkchain-web3.js in browser without metamask HOT 3
- web3.qkc.getTransactionReceipt.contractAddress is a qkc address
- web3.qkc.getBalance() 和 sendTransaction() 两个函数无法调通 HOT 1
- Upgrade underlying web3js to latest
- SyntaxError: Unexpected identifier - While Running the node example of web3
- Add getTokenIdFromName HOT 1
- Add getBalances HOT 1
- Does contract.method.call() support all chainshards
- gas or gasLimit in rawTx
- Is QuarkChain.getQkcAddressFromEthAddress method not long avaliable?
- Can't interact with Contract in browser HOT 8
- Create smart contract with quarkchain web3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkchain-web3.js.