first draft buttercoin api connect