π§΅ La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.
Available now:
-
Per-account counter with Ed25519 session authentication.
-
A simple name storage contract that remembers who you are.
-
Account-bound on-chain sigil (SVG PFP): mint one per derived address, optional on-chain tag.
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 scriptsnpm installConfigure your Bobine server in .env.local (optional):
SERVER=http://localhost:8080Compile all contracts:
npm run prepackDeploy a contract:
CONTRACT=say-my-name npm run produce
# Returns: { address: "3ca2c27f..." }Execute a contract method:
npm run execute 3ca2c27f... sayMyName text:"Alice"Got a useful contract? A intriguing experiment? Put it on the shelves.
- Create your contract in
contracts/your-contract-name/ - Test it thoroughly
- Add a brief description in the shop section
- Submit a PR
All contributions welcome, from serious primitives to silly meme contracts.
