Giter VIP home page Giter VIP logo

cacao's People

Contributors

haardikk21 avatar oed avatar ukstv avatar zachferland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cacao's Issues

CACAO coordination checklist

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.

  • CAIP related work
    • Get CACAO draft merged: ChainAgnostic/CAIPs#74
    • Create a registry for supported signature types (e.g. eip4361-eip191)
    • Create a guide / caip for how to use CACAO together with JWS (i.e. cap header)
  • Standards work

FYI, @ukstv @haardikk21 @wyc @bumblefudge

The siwe message produced by ceramic-cacao package is different from the one produced by spruceid/siwe

minimum 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

Create a README

Should contain information for how to use and contribute to CACAO.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.