Commit Graph

4 Commits

Author SHA1 Message Date
Mohamed Sohail a3052d9e21
fix: pointer param for provider 2022-05-18 13:41:55 +03:00
Mohamed Sohail 7eba3182ed
refactor: rpc provider (#6)
- provider now lives on its own
- existing modules need the provider as a param
2022-05-18 12:52:50 +03:00
Mohamed Sohail 8ebcbbf479
add: (wip) on-chain balance query (#5)
* add: smart-contracts

* add: implement and test

changes to contract:
- returns 0 instead of false error status
- func return type is []big.Int

* fix: test name

* fix: (test) env var name
2022-05-17 20:33:03 +03:00
Mohamed Sohail 79634affb8
refactor: tests and structure (#3)
module:
- cic-go

packages:
- cic/meta
- cic/net

other fixes:

- nonce is now a settable value
- package init outside test runner scope
2022-05-09 10:58:04 +03:00