Skip to content

🧡 La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.

License

Notifications You must be signed in to change notification settings

ccamel/bobinerie

Repository files navigation

La Bobinerie

Bobinerie Banner

🧡 La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.

Open since 2025 Version AssemblyScript Commit Convention: DAFT Build Lint Deploy License: MIT

Le Comptoir

Available now:

  • counter

    Per-account counter with Ed25519 session authentication.

  • say-my-name

    A simple name storage contract that remembers who you are.

  • sigil

    Account-bound on-chain sigil (SVG PFP): mint one per derived address, optional on-chain tag.

Le Manuel de l’Artisan

Project Structure

bobinerie/
β”œβ”€β”€ contracts/           # All the smart contracts
β”‚   └── say-my-name/    # Example: name storage
β”‚       β”œβ”€β”€ src/
β”‚       β”‚   └── mod.ts
β”‚       └── out/        # Compiled outputs (WASM + types)
β”œβ”€β”€ run/                # Deployment & execution scripts
└── package.json        # Build scripts

Setup

npm install

Configure your Bobine server in .env.local (optional):

SERVER=http://localhost:8080

Quick Start

Compile all contracts:

npm run prepack

Deploy a contract:

CONTRACT=say-my-name npm run produce
# Returns: { address: "3ca2c27f..." }

Execute a contract method:

npm run execute 3ca2c27f... sayMyName text:"Alice"

Avis aux artisans

Got a useful contract? A intriguing experiment? Put it on the shelves.

  1. Create your contract in contracts/your-contract-name/
  2. Test it thoroughly
  3. Add a brief description in the shop section
  4. Submit a PR

All contributions welcome, from serious primitives to silly meme contracts.

About

🧡 La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •