Skip to content

Instantly share code, notes, and snippets.

View i1skn's full-sized avatar

Ivan Sorokin i1skn

View GitHub Profile

Keybase proof

I hereby claim:

  • I am i1skn on github.
  • I am i1skn (https://keybase.io/i1skn) on keybase.
  • I have a public key ASDNr24iUaclHVdpcOwzb3oY1wTL1ZSJhzB3oD8DbILrUgo

To claim this, I am signing this object:

adb emu sms send "+351910000701" "<#> celo://wallet/v/uYcR0gSInAr2onRRQhDtTjyeh+tD270CfWZkkuQhLLohx0VNEKqAZ4JA8vKMYU6vlQIO1r/yYDOcmmKyZp1MvRw= anJGrg0nQ0S"
adb emu sms send "+351910000702" "<#> celo://wallet/v/50W+FfRq714wiJL3a3eNx3J0p+y1EIGfTCiEpv6F8lUTUWqa6y0UrbPO/kX6bNd3ftZAdgRRSfgm1wPDbBRC7Bs= anJGrg0nQ0S"
adb emu sms send "+351910000703" "<#> celo://wallet/v/Em4JygHq1jqimZqPyAh92SYM7pS4pjDt+Fl6FsZOJEY1tKPBumzuTs/fzPiV4dSL4gYN/FrjZosGoSEUsnM1tBs= anJGrg0nQ0S"

Summary

Relative to the 1.4.0 release, this update enables feeless verification. This allows users to verify their phone numbers without paying fees for SMS messages. Also it enables users to invite their friends using Invite functionality and brings redesign to Cash In Cash Out flows.

Commits included

This release was cut from master on November 10, 2020 from https://github.com/celo-org/celo-monorepo/commit/e7818bf02f376222e1fc98858e1afc9150447288. All subsequent PRs been cherry-picked onto release branch from master. See release branch: https://github.com/celo-org/celo-monorepo/tree/release/wallet/1.5.0

Features

@i1skn
i1skn / machine.js
Last active December 11, 2020 18:10
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@i1skn
i1skn / machine.js
Last active December 15, 2020 14:31
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@i1skn
i1skn / machine.js
Last active January 13, 2021 14:21
Generated by XState Viz: https://xstate.js.org/viz
const isPhoneNumberDetailsFetched = (context) => {
return !!context.pepper && !!context.phoneHash
}
const phoneNumberFetchedWithKomenci = (context) => isPhoneNumberDetailsFetched(context) && komenciEnabled(context)
const phoneNumberFetchedWithoutKomenci = (context) => isPhoneNumberDetailsFetched(context) && komenciDisabled(context)
const shouldRetry = (context, event, { cond }) => {
console.log(cond, context.retries, cond.maxRetries, context.retries < cond.maxRetries)