Questions tagged [access]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

Need a guide to access my ropsten test network contracts through my command line and not remix

I have written and published a contract on the ropsten test network using remix. Now I want to access the functions of the smart contract from my command line (My PC) and not the remix IDE. Is there a ...
1
vote
1answer
59 views

VM error: revert. revert The transaction has been reverted to the initial state. Note: The called function should be payable if

Hi Guys 👋 I have two contacts first one is SubToken and second one is MainContract. First I deploy MainContract after that I use createNewContract function and I create new SubToken. and then I ...
3
votes
1answer
107 views

TypeError: Indexed expression has to be a type, mapping or array (is function (address) view external returns (string memory,string memory…)

I have 2 contracts first one is sub second one is main . First i deploy main and create a new subtoken. Then I want to access my maincontract in subToken contract but I cant :( When I compile this ...
0
votes
0answers
13 views

How to verify access of child contracts?

I am using a factory A to produce child contracts. Now I want to guarantee that only these child contracts have access to a different contract B. Using the factory as a proxy is somehow a detour as I ...
2
votes
1answer
40 views

Is there any way that smart contract can access xacml policies?

I am trying to implement role based access control model using blockchain. How do i store these policies? Later my smartcontract should be able to allow or deny the rquest of user based on policie. ...
0
votes
1answer
125 views

Decentralized Access Control in permissioned Blockchain

For a business use case I am conceptualizing for my master's thesis, wich is based on a Blockchain system, I need to understand impacts on decentralization/trustlessness. Many people argue that ...
2
votes
2answers
54 views

Make Smart Contract Only Accessible from a Web App

I have got a Solidity smart contract which only interacts with a React front-end using web3. I want to restrict access to the smart contract so that only the React front-end can access the smart ...
0
votes
0answers
49 views

Controlling access to functions with VIEW visibility with signed transactions?

Controlling access to functions that require ETH is straight forward because you get an address you can trust because it has been signed and verified, and therefore upi can use for access control ...
2
votes
3answers
731 views

Accessing not public variables

Is it possible as the creater of the smart contract to access a not public variable? E.g.: contract MyContract { uint256 someLevel; function changeLevel(uint _newLevel) public { ...
0
votes
1answer
273 views

Move ERC20 tokens from Ethereum Wallet Contract to Account

In my Ethereum wallet i am trying to access my wallet conract. If I sync in light mode and import the wallet contract address it just stays there displayed, greyed out and nothing happens, no matter ...
0
votes
1answer
157 views

Allow access to private ethereum network from certain IP only

I have a question regarding restriction access to private etehreum network. I created my Private Etehreum network using Geth(for now just only with one node) on the Ubuntu 16.04 virtual machine. And ...
0
votes
1answer
60 views

Fast access of any given transaction in the blockchain

That is a conceptual question that I am asking here. We are trying to developp an application to securely store the hashes of some files in the blockchain. Everything is automated (taking a file as ...
1
vote
1answer
334 views

Smart Contract Execution Rights - Can everyone who knows the public address of a smart contract call the smart contract?

Say I have a contract with the address and method below. myContract.at("0x9f8cedf1f93e46fac74cb9415db8bbec85f239b4").greet(); Can everyone who knows this address call this smart contract method? Any ...
1
vote
1answer
16 views

Accessibility and security of the contract within a contract as a variable

Say I have one contract: contract Token { uint totalSupply; function Token() public { totalSupply = 0; } function mint() public{ //Do minting } } And then an ...
1
vote
1answer
15 views

Address Not Getting Stored Correctly in State Variable?

I am trying to write a contract where the originator of the contract will offer a reward that can only be claimed by a different address that she or he specifies. To do that, I am trying to create ...
0
votes
1answer
218 views

Off-chain database and access control management by smart contracts

I am thinking about an application which consists of two main components; off-chain database and ethereum blockchain for managing the accesses to the off-chain database. Is there any similar sample? ...
2
votes
1answer
227 views

Smart Contract to access to website

We want to create a simple smart contract: After the click of a "pay"-button, you have to pay automatically 0,01 ETH to our wallet and you can visit after the confirmend transaction a website/link/...
2
votes
1answer
2k views

Where is ethereum and etc stored on my desktop when using Jaxx wallet?

There was an error when opening my jaxx wallet for windows 10 desptop (containing eth and etc), and my computer suggested to reinstall the application. Without thinking, I deleted the jaxx files (but ...
1
vote
1answer
311 views

Presale wallet gives zero funds

I have already asked this question but I post once again as helpdesk people at ethereum are asking to post here: After several years of waiting, I have decided to check how much ether I do have in my ...
2
votes
1answer
701 views

What is the best way to write into a byte variable at a predefined position?

According to the Solidity documentation one can access the byte at position k in for example a Bytes16 variable source with the following code: pragma solidity ^0.4.8; contract example { Bytes16 ...
1
vote
2answers
140 views

What is the best practice between setting a variable public or using getters in Solidity?

From the solidity.readthedocs, a variable declared as public does not need a getter since an automatic accessor function is generated e.g: pragma solidity ^0.4.2; contract C { uint public data; }...