Bitcoin Forum

Bitcoin => Project Development => Topic started by: PavelVashpanov on January 30, 2019, 03:50:30 PM



Title: Read information from smart contract
Post by: PavelVashpanov on January 30, 2019, 03:50:30 PM
What’s up, community!
During the last week,  I have been developing a new service. And I would share current results here.

Abi2Api simplifies the work with blockchain and smart contracts. No longer required knowledge of the web3 library and JavaScript language. Get absolutely full information about the smart contract by pressing a single button. All you need is the address of the contract.

The function which is currently available - reading smart contracts.
The process of getting information about the functions inherent in the smart contract became much easier. We would note that service allows you to view the functions either requiring additional information or without entering additional data (without “inputs”) or (with “inputs”).

It’s not a final version. In the immediate future, the application will also provide the deploy functions and direct interaction with the functions of smart contact.

Android mobile app: https://yadi.sk/d/4qEQW1rXNbZR1g
Website: https://abi2api.jury.online


Title: Re: Read information from smart contract
Post by: khaled0111 on January 30, 2019, 04:50:51 PM
I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"


Title: Re: Read information from smart contract
Post by: mikeywith on January 31, 2019, 01:57:44 AM
I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

i tried it and it works, maybe there is something up with your address/code?

OP ,i noticed that your code does not check for leading/trailing spaces
also i have to refresh the page every time i make a typo, the page gets stuck with empty code until i refresh it.

good work.


Title: Re: Read information from smart contract
Post by: joniboini on January 31, 2019, 04:13:06 AM
I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

As the result suggest, it seems your contract has an incorrect format and therefore his apps can't return the output. It would be glad if it shows which one is incorrect.

The OP apps, at this initial stage, more or less looks like Etherscan read function, but we can't interact with it yet (can't query balanceOf, etc). Nice apps, looking forward to further development.


Title: Re: Read information from smart contract
Post by: PavelVashpanov on January 31, 2019, 01:51:11 PM
I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

i tried it and it works, maybe there is something up with your address/code?

OP ,i noticed that your code does not check for leading/trailing spaces
also i have to refresh the page every time i make a typo, the page gets stuck with empty code until i refresh it.

good work.

Thanks for feedback. I will work and develop.


Title: Re: Read information from smart contract
Post by: PavelVashpanov on January 31, 2019, 02:00:04 PM
I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

As the result suggest, it seems your contract has an incorrect format and therefore his apps can't return the output. It would be glad if it shows which one is incorrect.

The OP apps, at this initial stage, more or less looks like Etherscan read function, but we can't interact with it yet (can't query balanceOf, etc). Nice apps, looking forward to further development.

Thanks for the feedback. I will work and develop.


Title: Re: Read information from smart contract
Post by: PavelVashpanov on January 31, 2019, 02:09:47 PM
Why would read the information.  :) (http://mybestcalendars.com/may-2019-printable-calendar-templates-pdf-word-excel-holidays/)

Firstly, for api integration. Any other projects that need to receive information directly from contract (platform for transactions, ico aggregator etc.) can send a request for api applications and build it in their platforms.

Secondly, for those who want receive reliable information about contract/project quickly.

Thirdly, I don’t plan to stop on reading. That’s why I need the opinion of the community, to understand which way to go.


Title: Re: Read information from smart contract
Post by: Stedsm on January 31, 2019, 02:55:19 PM
It worked, but I'd suggest a few more things to be added to it: Balance of that smart contract, should also fetch name of project (if attached) for which the smart contract was created, as well as the category in which the project comes in. It'd also be more good if you could add an extra column below with all this information put up simple instead of coded style.


Title: Re: Read information from smart contract
Post by: miningnew on February 02, 2019, 03:35:42 AM
It’s the beginning ant it’s a beta version I suppose (or a 1.0) but thank you for this initiative!
Actually to “read” a smart contrat, you’ve to be really smart too!  :D
Through initiatives of this type, crypto become more accessible and people-friendly


Title: Re: Read information from smart contract
Post by: Piggy on February 02, 2019, 07:38:42 AM
This is similar to what etherscan does. They have an api system as well for it as far as i can see https://etherscan.io/apis#contracts

Anyway good job, it may come something interesting out of it ;)


Title: Re: Read information from smart contract
Post by: crypto.james on February 04, 2019, 01:48:17 AM
That’s nice let me check . If would be nice if you create an API and let the people allow to use your APi on their websites


Title: Re: Read information from smart contract
Post by: zororaka on February 08, 2019, 04:27:06 PM
Good job, very important. I like your site, because very useful. I hope it will be developed again