NEAR Protocol and Rails

1 · · April 14, 2022, midnight
(Non-technical summary post on read.cash will be included later when completed). (This article will never be completed. As we learn, we add more stuffs. If it gets stuffed with too many lines, we’ll move them to another post). While the view functions we can use near_api gem, the call function we couldn’t. Not only do we need to sign a transaction, we also need to borsh serialize the message before signing, and the RPC could only take a broadcast_tx which is a signed transaction. Signing a trans...