Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [payments]

The tag has no usage guidance.

2
votes
2answers
44 views

How much data can I store in a smart contract, what is the cost and how it is implemented?

If I suppose I use a smart contract as a database, how much data can I store? speaking only of strings and integers, save them in contract data structures does it cost in addition to the gas used for ...
0
votes
0answers
19 views

Pay for the users gas fee (ERC-721)

Is there a way for an NFT (ERC-721) so the contract creator pays for the gas fee when the user's trade tokens? Or add some sort of middleware CC payment so for the user that is not tech salvage not ...
1
vote
1answer
70 views

How to query incoming transactions to an ethereum address via web3j?

i know this question has been asked many times in this forum, but none of them give clear cut answer to the questions. I tried the snippet mentioned in this answer: Common useful JavaScript snippets ...
1
vote
0answers
54 views

Transactions from multiple addresses to a single address in Ethereum

We are currently in the process of developing a payment plugin for merchants to accept crypto payments. We are currently generating a unique order for every order which is placed in the merchant store....
1
vote
0answers
126 views

Is there any way to integrate ERC20 token as payment to ecommerce [closed]

If want to integrate ERC20 token to integrate as paymen to a website. how can?
2
votes
0answers
21 views

Tool to automate mass payments?

I was wondering if there a tool or a sample smart contract that allows to send out a mass payment to a list of addresses? I have a table containing Users' ETH addresses, different amounts of ETH to ...
11
votes
1answer
4k views

Member function “transfer” not found or not visible after argument-dependent lookup in contract?

I am having a problem with my smart contract making value transfers. My current environment: Truffle v5.0.0-beta.2 (core: 5.0.0-beta.2) Solidity v0.5.0 (solc-js) Node v8.11.1 I created the ...
0
votes
0answers
113 views

Using transfer() method but don't see payment in Ganache or Metamask?

I'm using the .transfer() method in my smart contract to pay a particular address. I've checked the Ganache logs and the transaction does not revert and is auto-mined successfully. But I don't see a ...
1
vote
0answers
35 views

secure open source Payment Gateway [closed]

I'm working on an open source multi coin payment gateway. ETH, EOS, BTC and BCH will be supported. My plan so far: The nodejs API runs on DigitalOcean. You send a GET request with your preferred ...
0
votes
1answer
20 views

Power of signing transactions and what you can do with that

I have been playing around with state channels and am starting to see the power of signing information/transactions, but haven't got a completely clear idea of what I can do with them. I think I can ...
1
vote
1answer
107 views

zk-SNARK use cases in blockchain (except payment)?

Is there other examples of using zk-SNARK for supporting "private transactions" except Zerocoin or Zchach ? (For example, is it possible to use zk-SNARK for health data ? or any other use cases in ...
1
vote
1answer
22 views

ELI5 the differences between sprites and traditional payment channels

There has been interest[1][2] lately in sprites-style payment channels. Could someone provide a quick comparison?
0
votes
1answer
19 views

Why does send return a bool

When withdrawing funds from a smart contract send returns a boolean function withdrawFromContract(uint amount) onlyOwner returns(bool success) { if(amount > this.balance) throw; // not enough ...
0
votes
1answer
14 views

Should I remove values from mapping

I'm writing a smart contract which pays orders. struct OrderStruct { address sender; uint amountReceived; } mapping(bytes32 => OrderStruct) orderStructs; When I'm wondering if there is ...
0
votes
1answer
149 views

“state channel” v.s “micro-payment channel” : are they the same?

We use "micro-payment channels" such as "Bitcoin Lightning Network" or "Duplex Micro-Payment Channels" for saving transaction fee, accelerating payments, supporting better micro-payment and scaling ...
0
votes
1answer
32 views

How do i know how much eth the receiver will get?

I bought some ethereum a long time ago and I'm trying to buy something with it now. I want to make sure the address I'm sending it to gets a specific amount (say 2.00 ETH). When I enter the "amount to ...
1
vote
1answer
160 views

How to get transactions on only one Ethereum address?

Imagine this scenario: ACME company is selling a service for 1 AcmeToken to their users. When a user wants to buy the service, ACME company generates a new Eth address for the user, so there is an ...
0
votes
1answer
810 views

“UPDATED : ” “VM Exception while processing transaction: revert”

I tested signature verification of the code presented HERE as follows: running testRPC : root@ubuntu:/home/s# testrpc EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2) Available Accounts =============...
1
vote
0answers
68 views

What is missing to make a successful payment between payer and recipient?

I tested both signing payment and signature verification that is implemented by JavaScript and EthereumJS here: And both of them (signing and verification) properly work, meaning that I am sure the ...
1
vote
2answers
150 views

UPDATED : How to determine “payer address” in “address.transfer(amount)”?

Consider we a function as follows : address public recipient; function settlement(uint256 amount) public { recipient = msg.sender; recipient.transfer(amount); } Then the ...
0
votes
2answers
254 views

How to validate ERC-20 payments into a contract?

I'm writing a smart contract that will do something as long as the user requesting that feature has paid the correct amount. If the amount is in ETH, I can easily do that with a simple require ...
1
vote
1answer
215 views

Can ERC-721 accept ERC-20 Tokens as a payment method

I am using OpenZeppelin as my open sourced framework for my blockchain development. I am interested to see if there is a work around to accept ERC-20 tokens as payment for the ERC-721 token? Example:...
0
votes
1answer
19 views

If a malicious party attempts to close a Raiden payment channel with incorrect balances, can they steal the deposit?

If a malicious party attempts to close a Raiden payment channel with incorrect balances, can they steal the deposit if the other party doesn't respond? If they close the channel and transmit that ...
1
vote
1answer
112 views

Pull payment for automatic payment transfer.

How can I program my wallet such that all Ether sent to it is immediately and automatically transferred to my other wallet within a minute.
0
votes
1answer
57 views

What programming language or framework should I use to automate wallet creation and transfer of tokens when people send payment via paypal? [closed]

If one were to create a site where users could sign up and transfer fiat currency to the site in exchange for the amount of ERC20 tokens equivalent to the fiat currency, how would they do it? How can ...
0
votes
2answers
17 views

using “payable” even when we do not send ETH?

When we want to send some ETH, we need to use the "payable" keyword. However, even when we want to send some tokens (i.e. uint256 token), we need to use again the "payable" keyword in our function as ...
2
votes
1answer
189 views

The better way to integrate Ethereum payments into web application

I'm trying to find the best solution to integrate Ethereum-based payments into web application and I'm looking for advice from someone who already faced this task. My case: Online-gambling solution ...
3
votes
1answer
641 views

Accepting ERC-20 Tokens as payment

I'm looking to integrate ERC-20 Token into my shop. Now I have a lot of products so I need automated system to keep track of payments. I did some reading and it looks like if I write smart contract to ...
2
votes
1answer
164 views

Making micropayments possible

I think it's clear that the current ethereum network is not quite suitable for IoT based micro payments. And the slow transition toward PoS, which recently started, will put even more emphasis on gas ...
0
votes
1answer
917 views

How do you send Ether as a function to a contract using Remix?

New to Solidity... When deploying a contract on a private blockchain using Remix, I am unable to execute payable functions. When executing these functions, the following error message displays: gas ...
2
votes
1answer
256 views

value transfer did not complete most likely as a result of a revert opcode

When i want to send some eth to an erc20 contract i receive the following error: "value transfer did not complete most likely as a result of a revert opcode". I modified the fallback function in ...
-1
votes
1answer
111 views

Receiving ERC20 token after having sent ETH [closed]

I want to implement the possibility to receive token after having sent eth to the contract. How can i do? Maybe i have to modify this function? function () public payable { revert(); }
1
vote
1answer
219 views

ICO Token sale payment process

How can one start selling their coins on their custom website for ETH and Bitcoin? I was checking bunnytoken.com, they have very simple payment process script, which includes referral solution. ...
1
vote
1answer
54 views

Looking for an elegant way of waiting for a payment

Is there a better way of awaiting a payment in ETH on a certain eth-address other than looping over getBalance()? And how do exchanges manage to find transactions even when they are not confirmed yet?
3
votes
1answer
202 views

How to dynamically charge a fee associated with executing a particular Solidity contract's function

I am trying to understand how to set a dynamic fee in Solidity. I have the following code contract Test{ uint fee; function Test(uint _feeNumerator, uint _feeDenominator){ fee = _feeNumerator/...
2
votes
1answer
33 views

Is it possible to generate a transaction request that populates all tx fields, except signature?

Does Ethereum have the basic functionality to allow a payment request to be generated which the user can then choose to accept and sign? The application for this is a token auction where the payer's ...
1
vote
1answer
64 views

How is excepting ether from a smart contract different than from a regular address?

We are implementing an ethereum payment for our customers and need to decide between deposits to a smart contract or individual customer addresses. What are pros and cons? Is it possible to hide our ...
2
votes
1answer
824 views

is it possible to have multiple address in the same account?

i mean : getting several payments from several addresses to the same account so i could send all the coins at once and not paying the fee for each transaction i'm willing to run ETH Node if necessary ...
1
vote
1answer
52 views

Organize received customer deposits payments

What's the best way to organize received payments? Is the only possibility to assign a new payments address to each customer or is it possible to identify customers reliably on data payload of the ...
5
votes
2answers
574 views

How to track payments to contract

Can I track received payments to smart contract on a block explorer or do I need to run a contract method for this? I need the amount and payment identification information (I need to identify the ...
0
votes
1answer
2k views

How to detect ETH deposits into an Ether address? [duplicate]

I want to be be able to programmatically detect an ETH deposit in order to process it as a payment in my app. I have been looking into an etherscan.io API and the only way i found to detect incoming ...
0
votes
1answer
81 views

How to know if a particular ethereum address is receiving a transaction? [duplicate]

Is it possible to determine if an ethereum address is receving a payment for example?
1
vote
2answers
753 views

Python creat payment and send it with private key

I am thinking/trying to create payment system. Just to learn more about crypto. I would like to generate public and private key. And send(broadcast) payment into the eth network using python. How ...
1
vote
0answers
60 views

Is there a practical approach to use transaction URL schema?

We are developing a web application, where a user can refill her account by sending funds to the company's Ethereum address. In order to distinguish different users, we assign each user a random ...
1
vote
2answers
8k views

Why is there a minimum amount for transfer (0.001 Ether)?

Ethereum newbie here. I tried transfering 0.0001ETH to one of my accounts for some testing. I realized there is a minimum limit of 0.001 ETH for transfers on the blockchain as shown by the error. I ...
0
votes
1answer
2k views

how to get the payment with ethermine.org

I am using ethermine to mine the ethereum for the experiment, now I setting the payment threshold to 0.08, now it comes to the threshold, and in the payout page, I got a payout which says the ...
0
votes
3answers
925 views

Automatic ERC20 Token Payment System - How to

Before starting to detail my problem, I must say that I am new to ERC20 Tokens and I write this question in ask for guidance. Is it possible that I can forge a payment system on an ERC20 token? What ...
1
vote
3answers
312 views

Multi-party payment channels

Has there been any research on multi-party payment channels? That is: A payment channel between 3 or more people. "any research" includes but is not limited to: considerations of the concept of such ...
4
votes
2answers
1k views

Accept ERC20 token payment using web3.js

I'm accepting Ethereum and Bitcoin payments in an trading site and I persist user balances in a database. I'd like to be able to receive ERC20 tokens too (like Bancor) if possible. I am not creating ...
1
vote
0answers
92 views

Dapp End User Payments in ether

After reviewing the relative questions. I am not keen enough in this space to discern if these questions and answers address my question. So I will submit my question in a neophyte tenor. Sell a ...