Skip to content

Instantly share code, notes, and snippets.

View jbpin's full-sized avatar

Jean-Baptiste PIN jbpin

View GitHub Profile
@jbpin
jbpin / readme.md
Last active February 27, 2021 14:54
Cardano Wallet HD -> Stake address

Generate key and address for stake and reward

| this work is based on https://gist.github.com/ilap/3fd57e39520c90f084d25b0ef2b96894

cat seed.txt | cardano-address key from-recovery-phrase Shelley > root.prv
cat root.prv | cardano-address key child 1852H/1815H/0H/0/0 > payment.xprv
cat root.prv | cardano-address key child 1852H/1815H/0H/2/0 > stake.xprv
@jbpin
jbpin / key
Last active September 28, 2017 14:40
0x930D910Df23f983329821Ac91DAb25Abab716099
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
import React, { Component, Children } from 'react';
import { NavigationExperimental } from 'react-native';
import navigationStore from '../navigationStore';
const {
CardStack: NavigationCardStack,
} = NavigationExperimental;
export default class NavigationRoot extends Component {
constructor(props) {
@jbpin
jbpin / navigationStore.js
Last active August 13, 2016 11:59
NavigationStore
import { Store, Command } from 'sinux';
import { NavigationExperimental } from 'react-native';
const {
StateUtils: NavigationStateUtils
} = NavigationExperimental
const navigationStore = new Store({ index: 0, routes: [] }, ...Object.keys(NavigationStateUtils));
for(method in NavigationStateUtils){
new Command(navigationStore[method], NavigationStateUtils[method]);
@jbpin
jbpin / index.ios.js
Last active June 21, 2016 15:47
Exemple using Sinux with React Native
/**
* Sample React Native App with Sinux
* https://github.com/jbpin/sinux
*/
'use strict';
import React, {
AppRegistry,
StyleSheet,
Text,