SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 0 forks source link

Contracts table #442

Open Vineet77 opened 4 years ago

Vineet77 commented 4 years ago

Branch: contract_table

So moving forward, we would like to retrieve all the contracts that are particular wallet address was part of. Just like how we store account information and block metadata, we will create a contract table.

The contract will have the following fields:

This issue is broken down into the following steps:

1 Adding sql statements.

Add the following constants with their appropriate string sql query command:

2 Adding contracts to contracts table.

Create a new package named contractstable with a contractstable.go file. . For now we will have the following functions