Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
6
votes
Accepted
Return a String with function giving an error in Solidity 0.5.1
Hence your code must be modified as shown below to work with v0.5:
pragma solidity ^0.5.1;
contract and {
string d = "Hello";
function getValueOfabc() public view returns(string memory) { …
0
votes
2
answers
134
views
Can I restrict new users to create a password and then access their data next time by only p...
I am trying to build a Dapp for healthcare where I must be able to allow patients(users) to enter their details after creating (say an account) by a password and next time they are able to view their …
0
votes
1
answer
317
views
How can I store multiple strings mapped to an address in Smart Contract (solidity)?
I want to save multiple files in Ipfs and store its hashes mapped to an user address. I thought of having an array mapped to address and pushing to it, but does not seem to be the right approach. Plea …
1
vote
How to send the RFID card no read using Raspberry Pi to smart contract so the details can be...
It is same as a get call that you make with a function written in the smart contract using api like web3.
You will have to write a function to return the details when RFID card number is passed as an …