Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Decentralized Organization Chain - Register Investor tx snippet
if (!user.type || user.type !== "investor") {
new TransactionError("Invalid user type for this transaction.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment