VS code extension for seahorse language snippets to help writing code in seahorse easy.
You can accesss the snippet inside the code with a prefix "!" following the acronym.
Triggers | Snippets |
---|---|
!pyth |
from seahorse.pyth import * |
!prld |
from seahorse.prelude import * |
!inst |
@instruction |
def def_name(signer: Signer): |
|
!cls |
class class_name(Account): |
!cpi |
CpiAccount(account,mut=False,signer=False,seeds=[]) |