diff --git a/locales/en.json b/locales/en.json index 607f128e..c8ec0b82 100644 --- a/locales/en.json +++ b/locales/en.json @@ -445,7 +445,7 @@ }, "TutorialOnboarding": { "bodyBuildYourOwnEconomy": "Circles has no central leadership, so it’s yours to create with. You can invite friends and local businesses to Circles to support an alternative economy.", - "bodyUnconditionalIncome": "Circles is designed similar to a basic income. Because it is people-powered, it is based on trust. To receive your basic income, three people already trusted in the Circles system must trust your profile. This way you are unconditionally issued Circles tokens on a regular basis.", + "bodyUnconditionalIncome": "Circles is designed similar to a basic income. Because it is people-powered, it is based on trust. To receive your basic income, one person already trusted in the Circles system must trust your profile. This way you are unconditionally issued Circles tokens on a regular basis.", "bodyWebOfTrust": "You can spend Circles with people who you trust. The more connected your community is, the more valuable your Circles become.", "bodyLearnMore": "Learn more", "headingBuildYourOwnEconomy": "Build Your Own Economy", @@ -469,10 +469,10 @@ "Validation": { "bodyDoNotReset": "Do not reset your browser local storage or you will need to recover your data with your magic words.", "bodyTrustDescription": "To receive your basic income,", - "bodyTrustDescriptionEmphasize": "three people must trust your profile.", + "bodyTrustDescriptionEmphasize": "one person must trust your profile.", "buttonShareProfileLink": "Share Profile Link", "headingBuildYourWebOfTrust": "Verify your account", - "tooltipLeftTrustConnections": "You need {connections} more trust connections before you can create your account" + "tooltipLeftTrustConnections": "" }, "ValidationLock": { "bodyThisMayTakeMinutes": "Keep your wallet open! Your wallet is now being created on the blockchain. This process is delicate and might take some minutes. It is important that you do not close or refresh your browser until this finishes. Otherwise your wallet creation will crash, and you will have to start from scratch.", diff --git a/src/components/ValidationStatus.js b/src/components/ValidationStatus.js index 309abc74..e19ead97 100644 --- a/src/components/ValidationStatus.js +++ b/src/components/ValidationStatus.js @@ -19,6 +19,7 @@ const useStyles = makeStyles((theme) => ({ }, step: { padding: 0, + margin: '0 auto', }, stepAvatar: { background: 'transparent', diff --git a/src/services/core.js b/src/services/core.js index 126536d6..135b3a23 100644 --- a/src/services/core.js +++ b/src/services/core.js @@ -161,9 +161,10 @@ const avatar = { // Trust module const trust = { - isTrusted: async (safeAddress) => { + isTrusted: async (safeAddress, limit) => { return await requestCore('trust', 'isTrusted', { safeAddress, + limit, }); }, diff --git a/src/store/trust/actions.js b/src/store/trust/actions.js index 86f6b7d4..a18dc052 100644 --- a/src/store/trust/actions.js +++ b/src/store/trust/actions.js @@ -28,9 +28,10 @@ export function checkTrustState() { let trustConnections = trust.trustConnections; if (!trust.isTrusted) { - const result = await core.trust.isTrusted(safeAddress, { - limit: NEEDED_TRUST_CONNECTIONS, - }); + const result = await core.trust.isTrusted( + safeAddress, + NEEDED_TRUST_CONNECTIONS, + ); isTrusted = result.isTrusted; trustConnections = result.trustConnections; } diff --git a/src/utils/constants.js b/src/utils/constants.js index 73478f53..bdbd2c11 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -2,7 +2,7 @@ export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'; export const ISSUANCE_RATE_MONTH = process.env.ISSUANCE_RATE_MONTH || 720; // Time circles export const PATHFINDER_HOPS_DEFAULT = 3; -export const NEEDED_TRUST_CONNECTIONS = 3; +export const NEEDED_TRUST_CONNECTIONS = 1; export const ABOUT_URL = 'https://joincircles.net'; export const BUG_REPORTING_URL =