ton icon indicating copy to clipboard operation
ton copied to clipboard

Unknown StateInit

Open kolirt opened this issue 7 months ago • 4 comments

W5 wallet version in tonkeeper

use Olifanton\Ton\Contracts\Messages\StateInit;
use Olifanton\Ton\Reflection\Wallets;

$wallet_state_init_w5 = 'te6cckECFgEAArEAAgE0AgEAUYAAAAA///+Is1c8EgjKONgUBUIb58bMyV4r50QgR32McAhVlLdYB3OgART/APSkE/S88sgLAwIBIAYEAQLyBQEeINcLH4IQc2lnbrry4Ip/EQIBSBAHAgEgCQgAGb5fD2omhAgKDrkPoCwCASANCgIBSAwLABGyYvtRNDXCgCAAF7Ml+1E0HHXIdcLH4AIBbg8OABmvHfaiaEAQ65DrhY/AABmtznaiaEAg65Drhf/AAtzQINdJwSCRW49jINcLHyCCEGV4dG69IYIQc2ludL2wkl8D4IIQZXh0brqOtIAg1yEB0HTXIfpAMPpE+Cj6RDBYvZFb4O1E0IEBQdch9AWDB/QOb6ExkTDhgEDXIXB/2zzgMSDXSYECgLmRMOBw4hIRAeaO8O2i7fshgwjXIgKDCNcjIIAg1yHTH9Mf0x/tRNDSANMfINMf0//XCgAK+QFAzPkQmiiUXwrbMeHywIffArNQB7Dy0IRRJbry4IVQNrry4Ib4I7vy0IgikvgA3gGkf8jKAMsfAc8Wye1UIJL4D95w2zzYEgP27aLt+wL0BCFukmwhjkwCIdc5MHCUIccAs44tAdcoIHYeQ2wg10nACPLgkyDXSsAC8uCTINcdBscSwgBSMLDy0InXTNc5MAGk6GwShAe78uCT10rAAPLgk+1V4tIAAcAAkVvg69csCBQgkXCWAdcsCBwS4lIQseMPINdKFRQTABCTW9sx4ddM0AByMNcsCCSOLSHy4JLSAO1E0NIAURO68tCPVFAwkTGcAYEBQNch1woA8uCO4sjKAFjPFsntVJPywI3iAJYB+kAB+kT4KPpEMFi68uCR7UTQgQFB1xj0BQSdf8jKAEAEgwf0U/Lgi44UA4MH9Fvy4Iwi1woAIW4Bs7Dy0JDiyFADzxYS9ADJ7VSeHw6p';

$state_init_w5 = StateInit::fromBase64($wallet_state_init_w5);
$public_data_w5 = Wallets::extractPublicData($state_init_w5);

W5 beta wallet version in tonkeeper

use Olifanton\Ton\Contracts\Messages\StateInit;
use Olifanton\Ton\Reflection\Wallets;

$wallet_state_init_w5beta = 'te6cckEBAwEAWQACATQCAQBdAAAAAH///4iAAAAAAAAzVzwSCMo42BQFQhvnxszJXivnRCBHfYxwCFWUt1gHc6AIQgLkzzsvTG1qYeoPK1RH0mZ4WyavNjfbLe7mvNGqgm80EqbJ4ZA=';

$state_init_w5beta = StateInit::fromBase64($wallet_state_init_w5beta);
$public_data_w5beta = Wallets::extractPublicData($state_init_w5beta);

I had this error CleanShot 2024-07-25 at 19 33 52

kolirt avatar Jul 25 '24 16:07 kolirt