Last active
January 31, 2020 20:45
-
-
Save iamonuwa/c595d9b46575a7987503e1e56c0c802b to your computer and use it in GitHub Desktop.
Login with torus without npm
This file contains hidden or 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
<html> | |
<head> | |
<title>Torus</title> | |
</head> | |
<body> | |
<script | |
src="https://app.tor.us/v0.2.12/embed.min.js" | |
integrity="sha384-lSiHcwUwWc+IymcuPXKXIJNrAdqA69cjnB7L8VWHlSI99WbNqzM3yLzQD/M9m2jq" | |
crossorigin="anonymous" | |
> | |
var torus = new Torus({ | |
buttonPosition: "top-left" | |
}); | |
torus.init({ | |
buildEnv: "production", | |
enableLogging: true, | |
network: { | |
host: "kovan", | |
chainId: 42, | |
networkName: "Kovan Test Network" | |
}, | |
showTorusButton: false | |
}); | |
torus.login(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment