• Karma : 50
  • Questions : 9
  • Answers : 0
  • Comments : 1

Does an ERC721 contract have to rely on an external agent to be the approved spender?

I am creating a dApp that services a game. The "house" in the game is my game server that creates the smart contract using Web3.js. It also owns ... more

Karma symbol 40
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 3
Total Comments to this question

How to return an array of structs from a view method?

I want to return an array of tuples (source from an array of structs) from one of my smart contract view functions. What's the most effective way ... more

Karma symbol 0
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 0
Total Comments to this question

Can a view function from a funded smart contract execute a send() transaction on an external contract?

I'm creating an open source voting app with a Node.JS front end. I'm hoping I can create a smart contract that can use funds allocated to it at cr... more

Karma symbol 75
Total Karma earned answering this question
Up gray arrow normal 7
Total Votes for this question
Speach bubble 2
Total Comments to this question

Cannot find “web-requestManager” exception when requiring Web3.js module from Javascript?

I have a *Node.js v8.11.1* app running on a *Ubuntu 14.04* LTS box that uses the Web3.js module. When I upgraded to the latest beta version, the v... more

Karma symbol 5
Total Karma earned answering this question
Up gray arrow normal 1
Total Votes for this question
Speach bubble 0
Total Comments to this question

Web3.js function(s) to help determine the block numbers inside a date range?

I'm working through Lesson 6, Chapter 9. In that lesson it talks about subscribing to events and also querying for events within a certain block r... more

Karma symbol 5
Total Karma earned answering this question
Up gray arrow normal 1
Total Votes for this question
Speach bubble 1
Total Comments to this question

Web3.js function(s) to help determine the block numbers inside a date range?

I'm working through Lesson 6, Chapter 9. In that lesson it talks about subscribing to events and also querying for events within a certain block r... more

Karma symbol 0
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 0
Total Comments to this question

Confusion over who should be the owner/administrator of a new instance of my smart contract?

I am working on a voting smart contract. I know I can set the owner for a smart contract. But I assumed that "role" was for the programmer of... more

Karma symbol 0
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 1
Total Comments to this question

Do default values in Solidity work the same as they do in other programming languages?

A question regarding Solidity and what looks like "default values" for function call parameters. For example: function someFunc(address theAddres... more

Karma symbol 75
Total Karma earned answering this question
Up gray arrow normal 1
Total Votes for this question
Speach bubble 2
Total Comments to this question

Is using the bytes() function the proper way to check for empty data or field elements in Solidity?

I'm working through another Ethereum tutorial while I wait for Cryptozombies lesson 6. In it, the author uses "bytes().length != 0" to check for "... more

Karma symbol 50
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 1
Total Comments to this question