Giter Site home page Giter Site logo

Cycle.Express

Buy cycles with fiat, and charge up your canisters on the Internet Computer.

For how to use, please refer to this document, or our website https://cycle.express/.

For customer support, please directly mail to [email protected].

We use a typical client-server architecture, except that both are hosted in the same canister container on the Internet Computer. This technique is made possible by Motoko Http Server.

  • The backend server keeps transaction records, and integrates with Stripe, a payment gateway service.
  • HTML and Javascript frontend handles user input, shows payment link, and confirms after a successful payment.

The backend is written in Motoko, and frontend in Javascript and Webpack. Build environment requires nodejs, vessel and pandoc to be in PATH. Just type make to build both frontend and backend from source.

The deployment takes 2 steps:

  • Deploy canister code with the required initialization parameters. This can be done from ic-repl.
  • Upload frontend assets to the canister. This can be done by using an upload.js script.

The deployed canister id is 4r37y-mqaaa-aaaab-aadqq-cai. Anyone can verify that the deployed Wasm hash (as well as frontend html and javascript) should match what is built and released on github.

Unless otherwise noted, all source codes are released under MIT License.

Cycle.Express's Projects

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.