These are chat archives for ethereum/tutorials

24th
Apr 2017
James Sangalli
@James-Sangalli
Apr 24 2017 01:29

Hey guys, built a web app that allows you to run any deployed contract by pasting the abi and contract address in the url params or in the text boxes on site. This is great for if you have smart contracts but no ui to interact with it. Here is the link: http://xcontract.herokuapp.com

to run an dApp with the url simply go: http://xcontract.herokuapp.com/api/yourAbiHere/yourContractAddressHere

let me know what you guys think!
example contract in url:

https://xcontract.herokuapp.com/api/%5B%7B%22constant%22:false,%22inputs%22:%5B%7B%22name%22:%22vendor%22,%22type%22:%22address%22%7D%5D,%22name%22:%22trade%22,%22outputs%22:%5B%5D,%22payable%22:false,%22type%22:%22function%22%7D,%7B%22constant%22:false,%22inputs%22:%5B%7B%22name%22:%22username%22,%22type%22:%22string%22%7D,%7B%22name%22:%22location%22,%22type%22:%22string%22%7D%5D,%22name%22:%22addUser%22,%22outputs%22:%5B%7B%22name%22:%22%22,%22type%22:%22string%22%7D%5D,%22payable%22:false,%22type%22:%22function%22%7D,%7B%22constant%22:false,%22inputs%22:%5B%7B%22name%22:%22vendor%22,%22type%22:%22address%22%7D,%7B%22name%22:%22isPositive%22,%22type%22:%22bool%22%7D,%7B%22name%22:%22message%22,%22type%22:%22string%22%7D%5D,%22name%22:%22giveReputation%22,%22outputs%22:%5B%5D,%22payable%22:false,%22type%22:%22function%22%7D,%7B%22constant%22:false,%22inputs%22:%5B%7B%22name%22:%22user%22,%22type%22:%22address%22%7D%5D,%22name%22:%22viewReputation%22,%22outputs%22:%5B%7B%22name%22:%22%22,%22type%22:%22uint256%22%7D,%7B%22name%22:%22%22,%22type%22:%22uint256%22%7D,%7B%22name%22:%22%22,%22type%22:%22uint256%22%7D,%7B%22name%22:%22%22,%22type%22:%22uint256%22%7D,%7B%22name%22:%22%22,%22type%22:%22uint256%22%7D%5D,%22payable%22:false,%22type%22:%22function%22%7D,%7B%22payable%22:false,%22type%22:%22fallback%22%7D,%7B%22anonymous%22:false,%22inputs%22:%5B%7B%22indexed%22:true,%22name%22:%22user%22,%22type%22:%22address%22%7D,%7B%22indexed%22:true,%22name%22:%22message%22,%22type%22:%22string%22%7D%5D,%22name%22:%22_positiveReputation%22,%22type%22:%22event%22%7D,%7B%22anonymous%22:false,%22inputs%22:%5B%7B%22indexed%22:true,%22name%22:%22user%22,%22type%22:%22address%22%7D,%7B%22indexed%22:true,%22name%22:%22message%22,%22type%22:%22string%22%7D%5D,%22name%22:%22_negativeReputation%22,%22type%22:%22event%22%7D,%7B%22anonymous%22:false,%22inputs%22:%5B%7B%22indexed%22:true,%22name%22:%22username%22,%22type%22:%22string%22%7D,%7B%22indexed%22:true,%22name%22:%22location%22,%22type%22:%22string%22%7D,%7B%22indexed%22:true,%22name%22:%22user%22,%22type%22:%22address%22%7D%5D,%22name%22:%22_addUser%22,%22type%22:%22event%22%7D,%7B%22anonymous%22:false,%22inputs%22:%5B%7B%22indexed%22:true,%22name%22:%22vendor%22,%22type%22:%22address%22%7D,%7B%22indexed%22:true,%22name%22:%22buyer%22,%22type%22:%22address%22%7D%5D,%22name%22:%22_newTrade%22,%22type%22:%22event%22%7D,%7B%22anonymous%22:false,%22inputs%22:%5B%7B%22indexed%22:true,%22name%22:%22user%22,%22type%22:%22address%22%7D,%7B%22indexed%22:true,%22name%22:%22positive%22,%22type%22:%22uint256%22%7D,%7B%22indexed%22:true,%22name%22:%22negative%22,%22type%22:%22uint256%22%7D,%7B%22indexed%22:false,%22name%22:%22total%22,%22type%22:%22uint256%22%7D,%7B%22indexed%22:false,%22name%22:%22burnedEth%22,%22type%22:%22uint256%22%7D,%7B%22indexed%22:false,%22name%22:%22burnedCoins%22,%22type%22:%22uint256%22%7D%5D,%22name%22:%22_viewedReputation%22,%22type%22:%22event%22%7D%5D/0x706af303364dc89a6b8dba265947442b05e84776

robinboy6
@robinboy6
Apr 24 2017 12:39
i need help
getting the message "Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.8
contract MyToken {
^
Spanning multiple lines."
Wiyzard
@wiyzard
Apr 24 2017 14:28
Hi @everyone. I was wondering how to create more ETH on Token via app and what the main purpose of the app. Thanks @everyone
CEOX1X
@etherceo1x1
Apr 24 2017 16:26
hi
need help
who can assist here
Eugeniu Rusu
@Exulansis
Apr 24 2017 16:53
@etherceo1x1 I guess you can just post your question here.