Generate HD wallet and sign message (#3)

* Generate ethers wallet

* Store wallet private key and mnemonic using react-native-keychain

* Add semicolons

* Edit ui heading

* Make review changes

* Use consistent pattern for functions

* Add method to sign message

* Change title

* Improve signing time

* Hide button on wallet initilisation

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
This commit is contained in:
shreerang6921
2024-02-08 12:05:32 +05:30
committed by GitHub
co-authored by adwait
parent 5189e8f051
commit 5dd97e3860
5 changed files with 605 additions and 56 deletions
+32
View File
@@ -0,0 +1,32 @@
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
headerContainer: {
padding: 15,
alignItems: 'center',
justifyContent: 'center',
},
headerText: {
color: 'black',
fontSize: 22,
fontWeight: 'bold',
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionTitle: {
fontSize: 24,
fontWeight: '600',
},
sectionDescription: {
marginTop: 8,
fontSize: 18,
fontWeight: '400',
},
highlight: {
fontWeight: '700',
},
});
export default styles;