Questions tagged [smartpy]
Discussion about the SmartPy language
157
questions
5
votes
2
answers
158
views
How do I get a list of a Tezos smart contract KT1 address entrypoints and its parameters?
I wish to retrieve info from a KT1 address so I know which entrypoints are available for consuming and which are their parameters and types. How can I achieve this? Thanks in advance.
6
votes
4
answers
301
views
Ethereum/Solidity dev here, looking to migrate some Solidity contracts onto Tezos. Was hoping to have some light shed on a few questions
Was hoping to have some light shed on a few questions.
Narrowing in on using Ligo, Archetype, or Liquidity.
Is Liquidity kind of a dead-end right now? I noticed it's not listed on developeres.tezos....
2
votes
1
answer
207
views
How to deploy a smart contract influenced by UI inputs using ConseilJS and SmartPy generated Michelson?
I wish to be able to create a smart contract taking input from a UI to supply parameters pubKey,prvKey,pubHash for the deployment and minAmount and maxTime to influence the Michelson.
I have the ...
1
vote
2
answers
117
views
How to total smartpy.TMutez type stored as values in smartpy.bigmap?
I have the following smartpy.bigmap in smart contract storage:
import smartpy as sp
self.data.init(bgmp=sp.bigmap(tkey=sp.TAddress,tvalue=sp.TMutez))
I would like to total all the stored tvalue so ...
2
votes
2
answers
151
views
Tezos Blockchain Time in SmartPy
I am new to Tezos Block chain and I am writing a smart-contract for crowdfunding using smartPy.
For this I need current date time of Tezos Block chain. So, can anyone help me out, how to find out this?...
1
vote
0
answers
31
views
Split function contract template
Is there a code template for a simple contract which splits the incoming funds and sends them proportionally to a list of pre-registered addresses?
Example:
Contract has the following functions:
...
1
vote
2
answers
149
views
Where are the API docs for SmartPy?
I'm working on a contract now and specifically I'd like to call a SmartPy API like sp.transfer(address, amount)? Is there a function like this?
I can't find API docs for SmartPy and digging into the ...