[AVLE] Editing account's profile using Keychain

in Steemit Dev Group3 years ago

I have implemented editing account's profile using keychain.

I thought there is no function to update profile in steem keychain. But it was my misunderstanding.

I can use the requestBroadcast function to update profile like this for Flutter.

 final operations = dartJs.JsObject.jsify([
        [
          'account_update2',
          {
            'account': username,
            'json_metadata': '',
            'posting_json_metadata': jsonEncode(profileMeta)
          },
        ]
      ]);

      await steemKeychain.requestBroadcast(
        username: username,
        operations: operations,
        keyType: 'Posting',
        callback: dartJs.allowInterop(
          (response) {
            print('requestBroadcast. updateProfile: ${response['message']}');
            print(
                'requestBroadcast update profile  response success: ${response['success']}');
            if (response['success']) {
              // handleKeychainResult(response);
            } else {
              printError('failed to update profile. ${response['message']}');
            }
          },
        ),
      );

Edit Account's Profile

To edit the profile, click the gear button in the profile screen.
image.png

Update Profile

Here I changed the display name to "etain12"

image.png

After clicking the update button, then keychain appears like above.

This operation seems not applied directly when I check in steemit.com.

But when visiting steemworld.org, I can see the account_update2 operation right there!

image.png

Based on my development experience, it takes some time to be updated. Let's see what will happen after some time.


Please vote for me as a witness.

https://steemitwallet.com/~witnesses
(find etainclub ranked at 32)
or here:
https://steemyy.com/witness-voting/?witness=etainclub&action=approve

@steemcurator01, Thank you for Your Support

@misterdelegation Could you delegate steem power to help me manage mobile app (PLAY STEEM) and webapp (AVLE)?

Posted using PLAY STEEM https://playsteem.app

Sort:  

항상 응원합니다^^

이타인님. ^^ ~ 에이블 베타버전 사용해 보려는데 기존 스팀잇 아이디와 포스팅키로 로긴 가능한가요?
해봤는데 실패했어요~

KakaoTalk_20220114_161309719.png

가입하셔야 합니다. 아직 공개할 수준은 아닌데 공개되었네요.

오.,답신 감사합니다 ^^ 공개되면 가입할께요

가입하고 써보시는 건 자유입니다.
아직 안되는것도 좀 있고, 버그도 많아서 그렇죠 ^^;

네 ~ ^^ 답신 감사합니다.

Coin Marketplace

STEEM 0.20
TRX 0.24
JST 0.038
BTC 96590.30
ETH 3333.92
USDT 1.00
SBD 3.16