leo/examples/message/inputs/message.in
2022-07-15 15:08:22 -07:00

8 lines
291 B
Plaintext

// The program input for message/src/main.leo
// To pass "m" into the "main" function we
// 1. Define the "Message" type.
// 2. Use brackets `{ }` to enclose the circuit members.
// 3. Define each circuit member `name : value`.
[main]
m: Message = Message { first: 2field, second: 3field };