Questions tagged [dai]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

What's the difference between token tracker and address page in Etherscan?

As an example, let's use DAI. DAI has these pages in Etherscan: https://etherscan.io/token/0x6b175474e89094c44da98b954eedeac495271d0f https://etherscan.io/address/...
5
votes
0answers
29 views

How does the Dai peg to dollar?

I am interested in the Dai stable coin and have seen multiple different explanations of how the coin balances and pegs to the $1. One said it was to do with the increase or decrease in interest rates ...
2
votes
0answers
19 views

How does the Dai stablize?

I am interested in the Dai stable coin and have seen multiple different explanations of how the coin balances and pegs to the $1. One said it was to do with the increase or decrease in interest rates ...
0
votes
1answer
17 views

Returning ERC20 tokens accidentally sent to the DAI contract

I don’t know if it’s the right place for it, but I’m taking a chance. Despite several years of daily use of ERC20 tokens, I unfortunately managed to make a mistake and send some ERC20 tokens to the ...
2
votes
4answers
89 views

Why are lending rates on USD based stable coins so different?

Since DAI is a USD based stable coin along with USDT and USDC, then why are their lending rates so different? In theory, the risks behind owning any of these stable-coins is similar so their lending ...
5
votes
0answers
45 views

Not able to use DAI's permit() function

I'm having trouble testing the permit() functionality from the DAI contract. I've read the documentation and a couple of other resources, although, I got the contract code and deployed myself a copy ...
0
votes
1answer
109 views

What's the minimum gaslimit guaranteed and sufficient for Dai v2 token transfer?

I have (mulicollatral)Dai v2 in the wallet and I want to set the minimum possible gas limit such that my send transaction don't fail. Thanks
0
votes
1answer
20 views

How to sign a erc20 contract call with key using web3

I am making a call to the Dai contract on the Kovan testnet to facilitate transactions between any two addresses entered as input. I was able to successfully make read calls but I realized I needed to ...
0
votes
1answer
26 views

web3.eth.defaultChain returns undefined

Hi I am trying to make a call to the Dai contract in the Kovan testnet using web3.js and have to set the value of web3.eth.defaultChain to 'kovan'. The docs state that the default value for web3.eth....
1
vote
2answers
681 views

How to obtain Rinkeby DAI?

I need to obtain Rinkeby DAI token with this token address: 0x8f2e097e79b1c51be9cba42658862f0192c3e487 I tried a faucet and https://rinkeby.uniswap.exchange/swap - both give me a different token (...
1
vote
1answer
30 views

How to calculate current DAI Savings Rate

I have read the documentation on the topic but still don't get how I can calculate the current DAI Savings Rate myself. The current dsr value is stored in the pot contract. At time of this writing it ...
0
votes
0answers
106 views

Want to Access remote dai smart contract in another smart contract

I want to transfer Dai tokens from account1 to account2. My account1 has 50 DAI tokens. Kovan Dai contract address given by makerdao is: 0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa. What I am doing ...
0
votes
0answers
49 views

Target Rate Feedback Mechanism (TRFM) Not Easy to Understand

From this article, I read: When Dai below the target price the following happens: The Target Rate increases. This causes the Target Price to increase at a higher rate. This causes Dai ...
1
vote
1answer
16 views

Puzzle- how to implement simple savings pool (via cDai) without iterating over unbounded loops?

Consider this example of a very simple savings contract, where users send Dai, which the contract converts to cDai. At any time users are free to withdraw their share of the accrued interest. I cannot ...
1
vote
0answers
64 views

transferFrom is not displaying DAI amount on MetaMask verification popup

I am using web3.min_1.36.js to send DAI to a contract. I already called "approve", so transferFrom is working correctly without error. However, the Metamask verification popup does not display the ...
0
votes
1answer
22 views

Borrow Maker DAI or Exchange

Why would one borrow Dai instead of buying from exchange ? if i have $150 worth ether i can borrow $100 worth Dai. With 8% stability fee basically at 8% interest rate. On the other hand i can just ...
1
vote
2answers
273 views

How to withdraw DAI from DSR (Oasis Saving Dapp / MakerDao) using the contract only, not the Dapp frontend?

I am currently testing the Oasis Saving Dapp by MakerDao (https://oasis.app/save). After converting some DAI to DSR, users can earn savings and whenever they want, withdraw their funds (convert back ...
3
votes
1answer
371 views

Accepting Dai or an any ERC20 token as a payment

I have created an ERC20 token and want to make it payable with DAI. I read some of the related questions but did not found any proper answer. As dai is an ERC20 token so, how can I accept any token ...
2
votes
1answer
35 views

How DAI stablecoin is able to be decentralised or how the CDP(Collateralized Debt Position ) process works?

I am reading about stablecoins in order to understand which one would be best suitable for my need( let users of my app be payed or rewarded by a crypto and at the same time lowering the effect of ...
0
votes
1answer
62 views

How does Ethereum's Makerdao Dai stablecoin differ from EOS's Equilibrium EOSDT stable coin?

What are the main differences from Ethereum's makerdao dai stablecoin to EOS's equilibrium EOSDT stablecoin? And are there other stablecoins like these two that are decentralized and issued via a ...
1
vote
0answers
160 views

How to get DAI using Web3.js

I'm building a Web3 app and I'm trying it out on the Kovan testnet. I'm trying to get some DAI. As far as I understand it the way to get DAI is to: Exchange ETH for WETH. Use Sai Tub contract to open ...
1
vote
1answer
551 views

How to use DAI in my contract

I'm familiar with smart contracts development. Although, every time I developed something, I used traditional ether. For the sake of simplicity, let's assume this contract. pragma solidity ^0.5.0; ...
1
vote
2answers
274 views

Is there a unicode currency symbol for DAI?

USD uses the symbol $. Ether has Ξ. Is there an agreed-upon Unicode currency symbol for DAI? And in your answer, please don't point me to an image of the symbol. I'm asking specifically if there's a ...
5
votes
2answers
2k views

Does Rinkeby have a faucet where I can fill a wallet with DAI?

I'm looking to use a testnet to test an application. I know I can get ether, but is there an easy way I could convert it to Dai? Thanks
0
votes
1answer
164 views

How should one approach the signing of ERC20 token transactions with an offline device?

I use an offline PC as a cold wallet. It works in combination with 2 USB drives: the 1st has Tails OS; the 2nd has my key files, a copy of MyCrypto desktop, and my encrypted account info. I can sign ...
3
votes
3answers
1k views

How to send ERC20 without paying gas in Ether?

Is there any way to send ERC20 Dai without paying gas in Ether but paying in DAI instead? I heard about some services which called relayers which presumably can help to send popular ERC20 token ...
1
vote
1answer
893 views

Getting a loan on my Ethereum using the MakerDAO to get DAI. What are the risks and safe zone collateral needed? [closed]

I have 10 Ethereum and I read one can take a loan against it and use it as collateral using the MakerDAO service to get DAI tokens. I've never done this and want to make sure I'm doing it correctly. ...
0
votes
2answers
168 views

How can you approve a token through an interface?

I have an interface to Dai from my contract and want to allow a user to approve the contract to transfer their Dai. Dai uses DSToken code which has an approve function that relies on msg.sender: ...
0
votes
2answers
105 views

Uncaught in promise error: DAI has not been deployed to detected network, network artifact mismatch

I reviewed the other questions that had a similar error and they didn't help with my problem. On my main net contract, with my MetaMask on main net, I am getting this error when processing ...
1
vote
2answers
119 views

can't use the crypto money I earn working for gitcoin.com

Recently I resolved a public GitHub issue and was paid 125 units. I was told its worth about 125 dollars. I've installed the chrome metamask plugin. I also purchased 5 dollars worth of ETH from ...
7
votes
1answer
507 views

How does the DAI keep its peg to a USD dollar?

I learned recently that the DAI uses some kind of smart contract magic to peg itself to the dollar as a stable coin. How is this not centralized as it involves fiat pairs? And what are some of the ...