ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
253 stars 106 forks source link

Add prefix dictionaries support to @ton/core #485

Open somewallet opened 4 months ago

somewallet commented 4 months ago

Summary

The idea is to expand functionality of the current .storeDictDirect method or add a new method (e.g. .storePfxDictDirect), that will accept slice key and convert it to prefix code.

Context

Prefix dictionaries are good for storing a small number of addresses in the storage of smart-contract and easily access them.

References

.storeDictDirect method in builder class for working with unsigned integer dicts: https://github.com/ton-core/ton-core/blob/e0ed819973daf0484dfbacd0c30a0dcfe4714f8d/src/boc/Builder.ts#L464

Estimate suggested reward

TON Footsteps SBT 500 USDT

ZigBalthazar commented 4 months ago

@somewallet Hi, can I work on that?

somewallet commented 4 months ago

@somewallet Hi, can I work on that?

I would like to do that

ZigBalthazar commented 4 months ago

@somewallet

What do you mean? Do you want to solve this issue?

dvlkv commented 3 months ago

@delovoyhomie up