Problems with profile on Onename


Thanks Ryan, yes I do know javascript. I am mainly trying to understand/figure out how any user myself included, who may have an existing onename profile can go about updating it the same structure as yours.


Ah yes, here’s some sample code you can use:

import { Person } from 'blockstack'
const legacyFormattedProfile = {}
const person = Person.fromLegacyFormat(legacyFormattedProfile)
const upgradedProfile = person.profile()