Skip to content

Commit

Permalink
removed RadBag validator as default validator and made clana.io the o…
Browse files Browse the repository at this point in the history
…nly network gateway, removing RadBag network gateway
  • Loading branch information
ZeroPointThree17 committed Jun 29, 2022
1 parent 1c5a85b commit b55b43e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ android {
applicationId "com.raddishwallet"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 35
versionName "2.16"
versionCode 36
versionName "2.17"
missingDimensionStrategy 'react-native-camera', 'general' // <-- insert this line
ndk {
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
Expand Down
8 changes: 4 additions & 4 deletions ios/RaddishWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@
CODE_SIGN_ENTITLEMENTS = RaddishWallet/RaddishWallet.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 9J7RQJR4ZS;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = RaddishWallet/Info.plist;
Expand All @@ -556,7 +556,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.16;
MARKETING_VERSION = 2.17;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -581,15 +581,15 @@
CODE_SIGN_ENTITLEMENTS = RaddishWallet/RaddishWallet.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 9J7RQJR4ZS;
INFOPLIST_FILE = RaddishWallet/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.16;
MARKETING_VERSION = 2.17;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const gateways = ["https://raddish-node.com:6208","https://mainnet.clana.io"]
export const gateways = ["https://mainnet.clana.io"]
export const linkingPrefixes = ["https://raddish-node.com"]
2 changes: 1 addition & 1 deletion src/screens/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const optionalConfigObject = {
<ScrollView contentContainerStyle={{justifyContent:"flex-end"}}>
<Image style={{margin: 0, padding:0, width: 70, height: 90, alignSelf:'center'}}
source={Raddish}/>
<Text style={[{alignSelf:'center',justifyContent:"center"}, getAppFont("black")]}>RadBag Wallet v2.16</Text>
<Text style={[{alignSelf:'center',justifyContent:"center"}, getAppFont("black")]}>RadBag Wallet v2.17</Text>
<Separator/><Separator/><Separator/><Separator/><Separator/><Separator/>
</ScrollView>
</View>
Expand Down
13 changes: 3 additions & 10 deletions src/screens/Staking.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function getValidatorData(gatewayIdx, currAddr, setValAddr, setUnstakeValAddr, s
"network": "mainnet"
},
"validator_identifier": {
"address": "rv1qt7dmsekqnrel6uxf9prqwujhn4udnu9yl9yzrlrkprmq4zrwmppvxn2gqf"
"address": "rv1qfxktwkq9amdh678cxfynzt4zeua2tkh8nnrtcjpt7fyl0lmu8r3urllukm"
}
};

Expand Down Expand Up @@ -719,7 +719,7 @@ function renderStakeValidatorRows(setValAddr, setUnstakeValAddr, setStakingScree
const [stakeValidators, setStakeValidators] = useState([]);
const [validatorData, setValidatorData] = useState(new Map());
const [renderedStakeValidatorRows, setRenderedStakeValidatorRows] = useState([]);
const [valAddr, setValAddr] = useState("rv1qt7dmsekqnrel6uxf9prqwujhn4udnu9yl9yzrlrkprmq4zrwmppvxn2gqf");
const [valAddr, setValAddr] = useState("rv1qfxktwkq9amdh678cxfynzt4zeua2tkh8nnrtcjpt7fyl0lmu8r3urllukm");
const [unstakeValAddr, setUnstakeValAddr] = useState();
const [stakingScreenActive, setStakingScreenActive] = useState(true);
const [stakeAmt, setStakeAmt] = useState();
Expand Down Expand Up @@ -778,13 +778,6 @@ const stakingStats = (showStakingStats) => {
<Text style={[{textAlign:'left', marginHorizontal: 0, fontSize:12}, getAppFont("black")]}>Pending Unstake Balance: {formatNumForDisplay(pendingUnstake)} XRD</Text>
<Text style={[{textAlign:'left', marginHorizontal: 0, fontSize:12}, getAppFont("black")]}>Total Balance: {new bigDecimal(((new bigDecimal(formatNumForDisplay(currentlyLiquid).replace(/,/g, '')).add(new bigDecimal(formatNumForDisplay(currentlyStaked).replace(/,/g, '')))).getValue())).getPrettyValue()} XRD</Text>
<Separator/>
<LinearGradient colors={[global.appBlue, global.appGreen, global.appGreen]} useAngle={true} angle={11} style={styles.surface}>
{/* <LinearGradient colors={['#183A81','#4DA892', '#4DA892']} useAngle={true} angle={11} style={styles.surface}> */}
<Image style={{margin: 0, width: 70, height: 90, marginBottom:4, alignSelf:'center'}}
source={Raddish}/>
<Text style={[{textAlign:'left', marginHorizontal: 0, fontSize:10, color:"white", textAlign:"center", alignSelf:'center'}, getAppFont("white")]}>Please consider staking with the RadBag Validator to support products like this wallet app and more to come!{"\n"}We are one of the top Radix validators with a low 1% fee!</Text>
</LinearGradient>

</View>
);
}
Expand Down Expand Up @@ -822,7 +815,7 @@ onPress={() => {setStakingScreenActive(false)}}>

<Separator/>
<View style={[styles.rowStyle,{backgroundColor:global.reverseModeTranslation}]}>
<Text style={[{textAlign:'left', marginHorizontal: 0, fontSize:12, flex:1, borderRadius: 15}, getAppFont("black")]}>Validator Address{"\n"}(Default: RadBag Validator):</Text>
<Text style={[{textAlign:'left', marginHorizontal: 0, fontSize:12, flex:1, borderRadius: 15}, getAppFont("black")]}>Validator Address{"\n"}(Default: Florian Pieper Staking):</Text>
<Text
style={[{textAlign: "center" , fontSize:12, flex:0.5}, getAppFont("#4DA892")]}
onPress={() => {Linking.openURL('https://explorer.radixdlt.com/#/validators')}}
Expand Down

0 comments on commit b55b43e

Please sign in to comment.