sawtooth-cookiejar
sawtooth-cookiejar copied to clipboard
Changing State Address
Hello Dan,
From your CookieJar example , i am trying to change the "from_key" value but keeping the namespace same as Family Name, i am not able to change the from_key value to another string - that i can encode and use. i get invalid key error - can you help?
return _hash(FAMILY_NAME.encode('utf-8'))[0:6] +
_hash(from_key.encode('utf-8'))
i even tried your recommendation as mentioned in https://stackoverflow.com/questions/54663482/sawtooth-transaction-error-tried-to-set-unauthorized-address
i am missing something , what i am trying to do is
- use the same example and have "make" "eat" and "count" on different Jar names that are specified at runtime as argument. i don't get it to work :(