Skip to content

Instantly share code, notes, and snippets.

@oojr
oojr / bch-sample.js
Created January 6, 2018 12:20
bch sample code
// check balance
const blocktrail = require('blocktrail-sdk');
const client = blocktrail.BlocktrailSDK({
apiKey: '',
apiSecret: '',
network: 'BCC',
testnet: true
});
@oojr
oojr / address.txt
Created July 7, 2017 02:00
ether testnet address
0x550a9aabaD84EdBd1661F969849A9BDC720cf34d
@oojr
oojr / styles-in-css.css
Created May 5, 2017 03:09
css styles example
.thumbnail {
margin: 5px,
padding: 5px,
background-color: #91969A,
border-radius: 3px,
min-width: 66px
}
.sponsored {
background-color: #F9BF3B,
@oojr
oojr / styles-in-js.js
Last active May 5, 2017 03:11
css-in-js example
class Post extends React.Component {
onSponsorPost(){
if(this.props.post.type === 'sponsored'){
return '#F9BF3B' //gold color
}
}
render(){
// web