Git Product home page Git Product logo

linkdrop-proxy's Introduction

Linkdrop Proxy Implementation

Why? Regular linkdrops are too expensive.

Creates linkdrops with the minimum amount required for an access key and then proxy calls the 'near' or 'testnet' accounts.

Instructions

yarn && yarn test:deploy

Pre-reqs

Rust, cargo, near-cli, etc... Everything should work if you have NEAR development env for Rust contracts set up.

Tests Contract

linkdrop-proxy's People

Contributors

mattlockyer avatar

Stargazers

Urbanite avatar eNddy avatar Luís Freitas avatar Willem Wyndham avatar Aliaksei avatar

Watchers

 avatar James Cloos avatar

linkdrop-proxy's Issues

[Feature Idea] Add callback for when link is claimed

We could add another function, send_with_callback, which adds an argument for a contract that will be called after the claims process is over. This will allow other contracts to just implement a callback but get all the benefits of the linkdrop. The contract could also have its own send method to make the proxy and it would fit nicely into the existing pipelines.

I'll take a crack at this this weekend.

Contract Commission Accounting

Since this contract will be accrue commission, we should track the total attached deposits and if the contract balance - attached deposits reaches a certain level we transfer funds to the proxied contract.

Or think of some other way to use the funds. Perhaps a DAO?

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.