Last active
August 13, 2017 17:06
-
-
Save josephros/ade5f7bebca64a7b86f2b59706bf6d18 to your computer and use it in GitHub Desktop.
web3 enabled html page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/web3@0.20.1/dist/web3.min.js"></script> | |
</head> | |
<body> | |
<script> | |
// create a web3 object connected to our NodETH node | |
var web3 = new Web3(new Web3.providers.HttpProvider("<node rpc url>")); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment