Keybase proof
I hereby claim:
- I am jamesmorgan on github.
- I am jimbobbins (https://keybase.io/jimbobbins) on keybase.
- I have a public key ASDJX-FTTS6FHG0_HJcGRAdgzch4rm2N1q_boL8en4HdGQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
did:muport:QmYNX951337ofvFM8k5HSF9vg51H363bRpDtXvqJPSfRU5 |
try { | |
await contract.methodCall(); | |
} catch (error) { | |
// error.reason now populated with an REVERT reason | |
console.log("Failure reason", error.reason); | |
} |
{ | |
live: { | |
network_id: 1, | |
gas: 6075039, | |
gasPrice: 5000000000, | |
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50) | |
skipDryRun: true // Skip dry run before migrations? (default: false for public nets ) | |
} | |
} |
contract | |
.purchase(edition.edition, { | |
from: account, | |
value: priceInWei | |
}) | |
.on('transactionHash', hash => { | |
console.log('Purchase transaction submitted', hash); | |
}) | |
.on('receipt', receipt => { | |
console.log('Purchase successful - Ive been mined', receipt); |
{ | |
"title": "Asset Metadata", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Identifies the asset to which this NFT represents", | |
}, | |
"description": { | |
"type": "string", |
{ | |
"artist": "Paper Hawk", | |
"artworkName": "Buzz", | |
"description": "Paper collage, using salvaged and original watercolour papers" | |
} |
{ | |
"name": "Buzz", | |
"description": "Paper collage, using salvaged and original watercolour papers", | |
"image": "https://ipfs.infura.io/ipfs/QmWc6YHE815F8kExchG9kd2uSsv7ZF1iQNn23bt5iKC6K3/image", | |
"meta": "https://ipfs.infura.io/ipfs/QmWc6YHE815F8kExchG9kd2uSsv7ZF1iQNn23bt5iKC6K3/other" | |
} |
function mint(string _tokenURI, bytes16 _edition, uint256 _priceInWei, uint32 _auctionStartDate, address _artistAccount) external onlyKnownOrigin { | |
.... | |
} |
{ | |
"title": "Asset Metadata", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Identifies the asset to which this NFT represents", | |
}, | |
"description": { | |
"type": "string", |