Skip to content

Instantly share code, notes, and snippets.

@ssbright
ssbright / Playground.hs
Created November 18, 2021 01:06
Plutus Playground Smart Contract
--| this is a test to save a file
@ssbright
ssbright / Playground.hs
Created November 18, 2021 17:18
Plutus Playground Smart Contract
import qualified Data.Text as T
import Playground.Contract
import Plutus.Contract
import PlutusTx.Prelude
import qualified Prelude as Haskell
--|Second test for making simple contract
-- | The address of the contract (the hash of its validator script).
contractAddress :: Address
@ssbright
ssbright / metadata.json
Last active February 1, 2022 02:29
PaymentSplitter
{"valueParameterInfo":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractShortDescription":"","contractName":"","contractLongDescription":"","choiceInfo":[]}
@ssbright
ssbright / gist:3cabac9775563121b2b0b9a072a773a2
Last active June 24, 2022 01:03
ChainCode Bitcoin Protocol Development
from example_test import ExampleTest, BaseNode
from test_framework.test_framework import BitcoinTestFramework
ET = ExampleTest()
ET.set_test_params()
ET.num_nodes = 3
ET.setup()
ET.run_test()
ET.shutdown()