algorand / algorand/go-algorand

Goal: accept 'transactions.Transaction' in addition to 'transactions.SignedTxn' when reading files

Open
#1,978 0 comments 0 reactions 0 assignees View on GitHub
FDE
Dominant language
Go
Stars
1.4k
Forks
537
Avg merge
1d 6h
Merged PRs (30d)
17

Description

## Summary

The current goal code assumes that files it reads will be in the `transactions.SignedTxn` format. In many cases it is easier for SDKs to write the `transactions.Transaction` format. To increase compatibility goal should have a utility to convert `transactions.Transaction` to `transactions.SignedTxn` when possible.

## Scope/Requirements

1. Write a initializer function which accepts either format.
2. Look for all the goal commands which work with files and initialize the file using the new function.

## Urgency/Relative Priority

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.