smartpy_io | Unsorted

Telegram-канал smartpy_io - SmartPy

321

https://smartpy.io/ https://twitter.com/smartpy_io

Subscribe to a channel

SmartPy

Thousif Thousif has been banned! Reason: CAS ban.

Читать полностью…

SmartPy

curious 👀 eyes has been banned! Reason: CAS ban.

Читать полностью…

SmartPy

Hey all, just a quick heads up, tomorrow morning UK time the devops team will be updating the nameservers for the smartpy RPCs - so they might be down temporarily.

If you need it there is a list of other nodes here: https://docs.tezos.com/architecture/nodes

Читать полностью…

SmartPy

apologies, it looks like the docs need updating, here is a bigger example:

https://smartpy.io/ide?code=eJyVVMFy2yAQvfsrdnxCiasItbl0Yk9n8gf9AYZKKGYGCRVQI_XruyvbkYntWuKgQSz73tsHrK5b6wL4WrrQDiA9@Ha1@uHbtLZlZ9SqVBXUUjecJd9XgGP86Cgt9aE0@lday7AniPo_e7qgjadN42RCLIz0Hl6lKTojg3UMJbzaJjhZhCMzDZIjhG50EIJ5ZaqzGA1aSksZZOqU70yALdRpa98Z49kGsiSBL8BvZGjcPKpK6y6ovyJY0chAQsZ_REiSSTAN8kmhxqG1ugmRyBrJdWuGUeQG@g0M96X28ADDbApZlgvRHxeg@9@ddOpEME97vxD9p7XhBgPeBoW3p4fdFrIoMhBZtPK@10bhOpoHO@hjoFMK6@EJJ2hBgpP8GtkB4YVqkU2J3xdglMETDBxn92yYb3CFN9s6Lc18j@ObW1mHcnUDTjZvivHNeMI8uaz_AuphiVBj3_L5Guce1g74DKGPn4s@gD5t8QRXuoI19aY1mSDwsdZKiLMuRTXhIxFB@cAOJ0f1HH4ncl@oRjptUSomUFSclth66kjr6ewLTn2FumJ61rGSC8R0z28gfHBigQW_TPyjnK4GVvDYXbT3CsunzZr28excbvrRjvptjs1i@xxFqZMsCxy7A8@vrI6vOrsV4PnXb1Fsegc8i7PGixdbcL_6yarnHIn@ARnizhE-

Читать полностью…

SmartPy

how do I import utils in smartpy online ide?

Читать полностью…

SmartPy

Karin Elise Given has been banned! Reason: CAS ban.

Читать полностью…

SmartPy

Hi, In which version does the transition from the version marked as 'legacy' to the modern version take place?

Читать полностью…

SmartPy

hey @cosmycoder - nice to meet you, we're not looking for devs right now on smartpy but if you want to dm me your linkedin or cv I can pass it on?

Читать полностью…

SmartPy

Hello @TransparentTraitor

Читать полностью…

SmartPy

Good point, my name is Simon Parry

Читать полностью…

SmartPy

Could you let me know which name you would prefer to be referred to by?

Читать полностью…

SmartPy

Yes as soon as the final version is ready i will send you a copy

Читать полностью…

SmartPy

Sure, do you want to send it ? We may give you feedback if you want.

Читать полностью…

SmartPy

but this solution is far better

Читать полностью…

SmartPy

If your goal is to compile from Python code instead of invoking python3 contract.py, you can do it through a test scenario: instantiate the contract, add it to the scenario, and then read the compiled code and initial storage from origination_result. Like that:

import smartpy as sp

@sp.module
def main():
class C(sp.Contract):
def __init__(self, x: sp.int):
self.data.x = x

@sp.entrypoint
def ep(self):
pass

def compile_contract(contract_ref, *args):
scenario = sp.test_scenario()
contract = contract_ref(*args)
scenario += contract
return {
"code_json": contract.origination_result["code_json"],
"storage_json": contract.origination_result["storage_json"],
"code_tz": contract.origination_result["code_tz"],
"storage_tz": contract.origination_result["storage_tz"],
}

result = compile_contract(main.C, 0)


But there is no official SmartPy api that provides a function equivalent to compile_contract, you have to build it yourself.

Читать полностью…

SmartPy

📣🚀😍 Announcing SmartPy v0.25 🔥🎉

https://smartpy.tezos.com/

The latest SmartPy update for Ushuaia and TezosX. Rio has left the building.

New features:

* Ushuaia is the default protocol, Rio has been removed.
* The Web IDE is rebuilt for TezosX: Previewnet is a first-class choice, the wallet uses octez.connect, Shadownet replaces Ghostnet, and the origination page is a stepped flow with editable code, fee estimation, and a ready-to-copy octez-client command.
* The names of entrypoints, onchain views and offchain views are now properly namespaced. Names can be distinguished by specifying contract.entrypoints, contract.onchain_views, or contract.offchain_views.
* contract.get_onchain_views() lists the on-chain views. get_offchain_views() no longer smuggles them into TZIP-16 metadata.
* Failures now say what failed, and a protocol error is no longer dressed up as a FAILWITH.

And more...

Please see https://smartpy.tezos.com/releases.html

Also available as a Jupyter notebook: https://smartpy.io/experimental-notebook/lab/index.html

Читать полностью…

SmartPy

The RPCs were successfully updated yesterday.

Please let us know if there are any RPC problems going forward.

Читать полностью…

SmartPy

Yekaterinatrofi Grrtend has been banned! Reason: CAS ban.

Читать полностью…

SmartPy

@sp.module
def main():
import smartpy.stdlib.utils as utils

Читать полностью…

SmartPy

📣🚀😍 And yet more improvements to the 0.25 alpha release 🔥🎉🙌

https://releases.smartpy.io/0.25.0a7/

This alpha includes some major improvements to the contract origination UX and also updates the protocol choices to include Ushuaia and remove Rio.

Please see the releases page for more info:
https://releases.smartpy.io/0.25.0a7/releases#v0-25-0a7

Читать полностью…

SmartPy

hey @TheMastroDev - it's a bit before my time with SmartPy but I think the first "new" version was 0.17.0 https://smartpy.tezos.com/releases.html#v0-17-0

maybe Jordan can verify?

Читать полностью…

SmartPy

📣🚀😍Announcing - SmartPy alpha release v0.25.0 🔥🎉🙌

https://releases.smartpy.io/0.25.0a4/

New Features
* New network selection choices for contract origination and wallet pages
* Introduce TezLink (Beta) Shadownet and Community node choices
* Much improved UX for test contract to origination journey
* Improved feedback on origination status by waiting for two block confirmations before showing success
* Updated Vite and related packages
* Clicking on compile contract now loads SmartPy IDE reliably
* New implementation of the SmartPy parser in Python - behind the SMARTPY_PYTHON_PARSER env var

Bug fixes:
* Improve parser error for contract's non-decorated method
* Fix for inline Michelson type error message
* Colorize and render traceback in a standard way
* Improve source code printing in exceptions for scenarios
* Auto-estimating gas costs which fixes corresponding origination failures

and more ...

Please see https://releases.smartpy.io/0.25.0a4/releases - also available as a Jupyter Notebook: https://releases.smartpy.io/0.25.0a4/experimental-notebook/lab/index.html?path=releases%2F0.25.ipynb

Читать полностью…

SmartPy

Hello. If you need a developer, please let me know!

Читать полностью…

SmartPy

np, congrats on getting your thesis written

Читать полностью…

SmartPy

My supervisor would also like to thank you

Читать полностью…

SmartPy

Great!
Let me say that on our side we're more than thankfull for the attention you're giving to SmartPy. Thank you!

Читать полностью…

SmartPy

Hi @TheMastroDev , that's fine with me, and thanks

Читать полностью…

SmartPy

Hi Jordan and @karoshibee, can I mention you in my Master’s thesis on SmartPy? For the support you’ve given me

Читать полностью…

SmartPy

Oh thanks, because i'm working on a toolchain for automatic execution and testing and through python code I was calling the bash for compiling code

Читать полностью…

SmartPy

It's possible to compile a smartpy contract via library function instead of calling it with 'python3 contract.py' ?

Читать полностью…
Subscribe to a channel