https://github.com/ccamel/bobinerie
π§΅ La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.
https://github.com/ccamel/bobinerie
assembly-script blockchain smart-contracts wasm web3
Last synced: 14 days ago
JSON representation
π§΅ La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.
- Host: GitHub
- URL: https://github.com/ccamel/bobinerie
- Owner: ccamel
- License: mit
- Created: 2025-12-29T14:00:17.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2026-01-02T16:23:35.000Z (25 days ago)
- Last Synced: 2026-01-06T07:55:45.314Z (21 days ago)
- Topics: assembly-script, blockchain, smart-contracts, wasm, web3
- Language: TypeScript
- Homepage:
- Size: 622 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - ccamel/bobinerie - π§΅ La Bobinerie - Haberdashery of Bobine modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will. (TypeScript)
README
# La Bobinerie

> π§΅ _La Bobinerie_ - Haberdashery of [Bobine](https://bobine.tech) modules: from useful, serious pieces to educational gems and esoteric oddities. Grab, deploy, fork at will.
[](https://img.shields.io/github/v/release/ccamel/bobinerie)
[](https://github.com/ccamel/bobinerie/releases)
[](https://www.assemblyscript.org/)
[](https://x.com/hazae41/status/2001986156834267231)
[](https://github.com/ccamel/bobinerie/actions/workflows/build.yml)
[](https://github.com/ccamel/bobinerie/actions/workflows/lint-code.yml)
[](https://github.com/ccamel/bobinerie/actions/workflows/deploy.yml)
[](LICENSE)
## Le Comptoir
Available now:
- **[counter](contracts/counter/README.md)**
> Per-account counter with Ed25519 session authentication.
- **[say-my-name](contracts/say-my-name/README.md)**
> A simple name storage contract that remembers who you are.
- **[sigil](contracts/sigil/README.md)**
> Account-bound on-chain sigil (SVG PFP): mint one per derived address, optional on-chain tag.
## Le Manuel de lβArtisan
### Project Structure
```txt
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
```bash
npm install
```
Configure your Bobine server in `.env.local` (optional):
```env
SERVER=http://localhost:8080
```
### Quick Start
Compile all contracts:
```bash
npm run prepack
```
Deploy a contract:
```bash
CONTRACT=say-my-name npm run contract:produce
# Returns: { address: "3ca2c27f..." }
```
Other common tasks:
- Build a single contract: `CONTRACT=say-my-name npm run contract:build`
- Produce all contracts: `npm run produce`
- Generate docs: `npm run docs`
Execute a contract method:
```bash
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.