Open gnurtcouq opened 5 years ago
@gnurtcouq Are you still able to deploy the application and do the following steps after the view the eth accounts
step?
Not sure exactly how to fix this, but will add this as a feature request for future code patterns (focus on using Truffle to interact with smart contract)
Hi,
I follow doc (https://github.com/Aniket-Engg/loyalty-points-evm-fabric/commit/23ee52b5c3d23cde959bc21e45783265af40df2d#diff-35d83bebf85b66640bd3eb135d4ef379) to install truffle and compile LoyaltyPoints.sol in truffle. Everything is OK, but when I run command to interact with the smart contract in truffle console as:
web3.eth.accounts
The output does not show the account number. Instead it show:
Accounts { currentProvider: [Getter/Setter], _requestManager: RequestManager { provider: HttpProvider { host: 'http://127.0.0.1:7545', httpAgent: [Object], timeout: 0, headers: undefined, connected: true, send: [Function], _alreadyWrapped: true }, ...
Any ideal how to fix this?