ceramicnetwork / cacao Goto Github PK
View Code? Open in Web Editor NEWCACAO library for Ceramic OCAP
License: MIT License
CACAO library for Ceramic OCAP
License: MIT License
Creating this checklist to keep track of things needed to establish Cacao as a legit standard for object capabilities. Things may be added here over time as needed.
eip4361-eip191
)cap
header)cap
protected header with IANAminimum code to reproduce
import { SiweMessage as CeramicSiweMessage } from "ceramic-cacao";
import { SiweMessage } from "siwe";
const params = {
domain: "service.org",
address: "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d",
statement:
"I accept the ServiceOrg Terms of Service: https://service.org/tos",
uri: "did:key:z6MkrBdNdwUPnXDVD1DCxedzVVBpaGi8aSmoXFAeKNgtAer8",
version: "1",
nonce: "32891757",
issuedAt: "2021-09-30T16:25:24.000Z",
chainId: "1",
resources: [
"ceramic://k2t6wyfsu4pg040dpjpbla1ybxof65baldb7fvmeam4m3n71q0w1nslz609u2d",
],
};
const siweMessage = new SiweMessage(params);
const ceramicSiweMessage = new CeramicSiweMessage(params);
const message = siweMessage.toMessage();
const ceramicMessage = ceramicSiweMessage.toMessage();
console.log(message === ceramicSiweMessage); // false
Should contain information for how to use and contribute to CACAO.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.