Questions tagged [ens]

Questions related to the Ethereum Name Service, a distributed, extensible naming system based on the Ethereum blockchain.

Filter by
Sorted by
Tagged with
5
votes
2answers
2k views

Accessing struct fields in Web3 returned by a promise in Truffle

I'm using web3js (via Truffle) to make a call to a contract, to access a struct in a mapping. mapping (bytes32 => entry) public entries; struct entry { Mode status; Deed deed; uint ...
4
votes
3answers
741 views

What is the right way to store and retrieve a contract address?

Suppose I create a new contract with: web3.eth.contract(abi).new({ data: code }, (err, contract) => { ... }) Inside the callback I am able to get the contract.address of the new contract. I can ...

1 2
3