🌹 🇧🇬 🚜 🇪🇺
https://hack.bg presents:
Fadroma v3 is not yet available in package repositories.
You can, nonetheless, easily add it to your project - putting you in a better position to explore and contribute to the Fadroma codebase:
mkdir project # Create project
cd project # Enter project
git init # Make it a repo
# Add Fadroma submodule:
git submodule add https://github.com/hackbg/fadroma
# Fetch the rest:
cd fadroma
git submodule update --init --recursivemkdir project # Create project
cd project # Enter project
git init # Make it a repo
touch README.md # Make it non-empty
git commit -m "tabula rasa" # Initial commit
# Add Fadroma subtree:
git subtree add --prefix=fadroma https://github.com/hackbg/fadroma v3-alpha
# Fetch the rest:
cd fadroma
git submodule update --init --recursiveimport { Bitcoin } from 'fadroma';
const localnet = await Bitcoin.ElementsRegtest();
const testnet = await Bitcoin.LiquidTestnet(); // TODO
// TODO othersimport { SimplicityHL } from 'fadroma';
const program = await SimplicityHL("fn main () { assert!(true) }");
const commitTx = await program.commit({ ... });
const redeem = await program.redeem({ ... });import { Solana } from 'fadroma';import { Tendermint } from 'fadroma';import { Namada } from 'fadroma';import { CosmWasm } from 'fadroma';import { SecretNetwork } from 'fadroma';import { Fn } from 'fadroma';import { Test } from 'fadroma';import { Http } from 'fadroma';