I hereby claim:
- I am zanibas on github.
- I am kgserrano (https://keybase.io/kgserrano) on keybase.
- I have a public key whose fingerprint is 0FD3 E3A6 7523 A6CE 6794 C0BD 0944 A516 C726 1DDE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Sinatra is a web framework with an emphasis of getting a working prototype quickly.
A group of related technologies packaged together to speed up and enhance web development. Basically, an environment of tools that work together to get things on the web.
For MetaMask, the minimum basic functionality we'd want from a conversion API is as follows:
One endpoint for converting Ether into a fiat currency
GET ethconversion/:symbol
Where :symbol
indicates the abbreviated symbol used to represent the target fiat, such as USD, EUR, JPY, etc.
The JSON output would have to have these fields:
// Functions | |
function hello() { | |
console.log("Hello World") | |
} | |
// Calling a function | |
hello // function | |
hello() // "Hello World" | |
// Returning from functions |
var Eth = require('ethjs') | |
var tokenAbi = require('human-standard-token-abi') | |
var tokenAddress = '0x48ff0cbac0acefedf152281ee80e9a0a01d5da63' | |
var secondAddress = '0xC5b8dBAc4c1d3F152cDeb400E2313F309c410aCb' | |
var eth, token | |
window.addEventListener('load', function() { | |
if (typeof window.web3 !== 'undefined') { | |
eth = new Eth(web3.currentProvider) | |
// Now enjoy! Use it! |
0x8FbD1f56a68415D7cA75A63393Ff566aB8Bc07d2 |
0x65c5752cca98e09ec3e1177e7ffe37910f372d41 |