I have a slice message="message" stored in func

begin_cell()
.store_slice(message)
.end_cell()


I am using blueprint to decode the cell, I parsed it to slice
how can I load string value?

export function decodeConfig(cell: Cell): MainConfig {
let slice = cell.beginParse()

return {
message: slice.load???(),
}
}


I referring to earlier references to discussions made w.r.t to storing string in cells, and builder, and string ref
so far I am overwhelmed, what is the write way to do it?

I have 3 string and 1 int value which I want to store it
should I copule it all together as a cell, and send it to contract? how will it work with an op code?
and where will it store it? because I want to save the data on c4

sorry for the confusion, I am confused myself

Aug 11, 2023, 11:10 PM

© 2024 Draquery.com All rights reserved.