Linked Questions

0 votes
0 answers

Smart Contracts and BigchainDB

How can I access data stored in blockchain database like BigchainDB using a smart contract in Ethereum?
Suvam Tamang's user avatar
0 votes
1 answer

How to pass NFT property value to smart contract

I have an NFT staking contract that issues rewards based on the property rarity of the NFT staked. The four property tiers are 1,2,3 and 4. When a user clicks stakeNFT(tokenId, nftTier), I use the ...
John Smith's user avatar
0 votes
0 answers

How to get "dna" from the metadata file of a ERC721 token in Solidity

here is the context, I would like to be able to burn n ERC721 token based on the "dna" and the attributes "type" in the metadata (see below): { "dna": "602472F&...
Remzzer's user avatar
  • 25
0 votes
0 answers

How do i get the price of an erc20 token from solidity smart contract [duplicate]

I'm building a dapp, i'm trying to get the erc20 token price in usd from my smart contract how do i go about this? this is very necessary as smart contracts cannot read from outside networks. I don't ...
Benjamin's user avatar

15 30 50 per page